📄 ssb.mdl
字号:
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Butterworth"
filttype "Lowpass"
N "8"
Wlo "50"
Whi "80"
Rp "2"
Rs "40"
}
Block {
BlockType Reference
Name "Band-Limited\nWhite Noise"
Ports [0, 1]
Position [415, 48, 450, 92]
SourceBlock "simulink/Sources/Band-Limited\nWhite Noise"
SourceType "Continuous White Noise."
Cov "[0.1]"
Ts "0.1"
seed "[23341]"
VectorParams1D on
}
Block {
BlockType BusCreator
Name "Bus\nCreator"
Ports [2, 1]
Position [710, 125, 715, 185]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [140, 65, 190, 125]
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [140, 201, 190, 259]
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [345, 125, 395, 185]
Port {
PortNumber 1
Name "ssb波形"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Sin
Name "Sine Wave4"
Position [585, 222, 630, 258]
SineType "Time based"
Frequency "pi"
SampleTime "0.01"
}
Block {
BlockType Sin
Name "Sine Wave5"
Position [255, 207, 300, 243]
SineType "Time based"
Frequency "4*pi"
SampleTime "0.01"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [250, 102, 295, 178]
ShowName off
Inputs "|++"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [500, 114, 535, 166]
ShowName off
Inputs "|++"
}
Block {
BlockType Scope
Name "ssb波形"
Ports [1]
Position [445, 205, 485, 255]
Location [270, 238, 796, 594]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "加噪声后波形"
Ports [1]
Position [615, 43, 655, 87]
Location [119, 228, 643, 583]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "解调后波形"
Ports [1]
Position [805, 130, 845, 180]
Location [120, 232, 645, 581]
Open on
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
}
Block {
BlockType Sin
Name "信源"
Position [40, 40, 85, 80]
SineType "Time based"
Frequency "2*pi"
Phase "pi/2"
SampleTime "0.01"
}
Block {
BlockType Sin
Name "信源1"
Position [40, 176, 85, 214]
SineType "Time based"
Frequency "2*pi"
SampleTime "0.01"
}
Block {
BlockType Sin
Name "载波"
Position [40, 103, 85, 147]
SineType "Time based"
Frequency "pi"
Phase "pi/2"
SampleTime "0.01"
}
Block {
BlockType Sin
Name "载波1"
Position [40, 237, 85, 273]
SineType "Time based"
Frequency "pi"
SampleTime "0.01"
}
Line {
SrcBlock "信源"
SrcPort 1
Points [25, 0; 0, 20]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "载波"
SrcPort 1
Points [25, 0; 0, -15]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "信源1"
SrcPort 1
Points [35, 0]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "载波1"
SrcPort 1
Points [35, 0]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [25, 0; 0, 45]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [25, 0; 0, -65]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Band-Limited\nWhite Noise"
SrcPort 1
Points [0, 70]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Analog\nFilter Design"
DstPort 1
}
Branch {
Points [0, -75]
DstBlock "加噪声后波形"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Product3"
DstPort 1
}
Line {
SrcBlock "Sine Wave5"
SrcPort 1
Points [10, 0; 0, -55]
DstBlock "Product3"
DstPort 2
}
Line {
Name "ssb波形"
Labels [0, 0]
SrcBlock "Product3"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Sum1"
DstPort 2
}
Branch {
Labels [1, 0]
Points [0, 75]
DstBlock "ssb波形"
DstPort 1
}
}
Line {
SrcBlock "Bus\nCreator"
SrcPort 1
DstBlock "解调后波形"
DstPort 1
}
Line {
SrcBlock "Analog\nFilter Design"
SrcPort 1
DstBlock "Bus\nCreator"
DstPort 1
}
Line {
Labels [2, 0]
SrcBlock "Sine Wave4"
SrcPort 1
Points [60, 0]
DstBlock "Bus\nCreator"
DstPort 2
}
Annotation {
Position [228, 44]
}
Annotation {
Position [717, 93]
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -