📄 fdma_demo.mdl
字号:
Ports [2, 1]
Position [675, 191, 710, 224]
ShowName off
Inputs "2"
DisplayOption "none"
}
Block {
BlockType SignalGenerator
Name "Signal1"
Position [15, 48, 60, 82]
ForegroundColor "yellow"
WaveForm "sine"
Amplitude "1.000000"
Frequency "2.000000"
Units "rad/sec"
VectorParams1D on
}
Block {
BlockType SignalGenerator
Name "Signal2"
Position [15, 113, 60, 147]
ForegroundColor "green"
WaveForm "sawtooth"
Amplitude "1.000000"
Frequency "3.000000"
Units "rad/sec"
VectorParams1D on
}
Block {
BlockType SignalGenerator
Name "Signal3"
Position [15, 183, 60, 217]
ForegroundColor "red"
WaveForm "square"
Amplitude "1.000000"
Frequency "4.000000"
Units "rad/sec"
VectorParams1D on
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [295, 112, 315, 148]
IconShape "rectangular"
Inputs "+++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Scope
Name "element 1"
Ports [1]
Position [735, 39, 760, 71]
Floating off
Location [24, 304, 247, 476]
Open on
NumInputPorts "1"
TickLabels "off"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "10"
YMin "-1.5"
YMax "1.5"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "Array"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "element 2"
Ports [1]
Position [735, 109, 760, 141]
Floating off
Location [255, 304, 474, 476]
Open on
NumInputPorts "1"
TickLabels "off"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "10"
YMin "-1.5"
YMax "1.5"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "Array"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "element 3"
Ports [1]
Position [735, 194, 760, 226]
DropShadow on
Floating off
Location [481, 304, 703, 475]
Open on
NumInputPorts "1"
TickLabels "off"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "10"
YMin "-1.5"
YMax "1.5"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "Array"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "multiplex signal"
Ports [1]
Position [380, 174, 405, 206]
Floating off
Location [118, 260, 689, 491]
Open on
NumInputPorts "1"
TickLabels "on"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "10"
YMin "-3"
YMax "3"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "Array"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "receiving"
Ports []
Position [453, 32, 628, 236]
ForegroundColor "blue"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDescription " "
MaskDisplay "disp('.')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "receiving"
Location [360, 145, 666, 338]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "transmitting"
Ports []
Position [102, 34, 323, 232]
ForegroundColor "blue"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDescription " "
MaskDisplay "disp('.')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "transmitting"
Location [360, 145, 666, 338]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 60]
DstBlock "multiplex signal"
DstPort 1
}
Branch {
Labels [1, 0]
DstBlock "AWGN\nchannel"
DstPort 1
}
}
Line {
SrcBlock "Butterworth\nIIR BP Filter1"
SrcPort 1
Points [15, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Butterworth\nIIR BP Filter2"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Butterworth\nIIR BP Filter3"
SrcPort 1
Points [15, 0]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "DSB-SC-ADM\npassband1"
SrcPort 1
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "DSB-SC-ADM\npassband"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Signal1"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "DSB-SC AM\npassband"
DstPort 1
}
Branch {
Points [0, -40; 570, 0]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "DSB-SC AM\npassband"
SrcPort 1
DstBlock "Butterworth\nIIR BP Filter1"
DstPort 1
}
Line {
SrcBlock "DSB-SC AM\npassband1"
SrcPort 1
DstBlock "Butterworth\nIIR BP Filter2"
DstPort 1
}
Line {
SrcBlock "DSB-SC AM\npassband2"
SrcPort 1
DstBlock "Butterworth\nIIR BP Filter3"
DstPort 1
}
Line {
SrcBlock "Butterworth\nIIR BP Filter5"
SrcPort 1
DstBlock "DSB-SC-ADM\npassband1"
DstPort 1
}
Line {
SrcBlock "Butterworth\nIIR BP Filter4"
SrcPort 1
DstBlock "DSB-SC-ADM\npassband"
DstPort 1
}
Line {
SrcBlock "Butterworth\nIIR BP Filter6"
SrcPort 1
DstBlock "DSB-SC-ADM\npassband2"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "element 1"
DstPort 1
}
Line {
SrcBlock "Signal2"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "DSB-SC AM\npassband1"
DstPort 1
}
Branch {
Points [0, -120; 570, 0; 0, 105]
DstBlock "Mux2"
DstPort 1
}
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "element 2"
DstPort 1
}
Line {
SrcBlock "DSB-SC-ADM\npassband2"
SrcPort 1
DstBlock "Mux3"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "element 3"
DstPort 1
}
Line {
SrcBlock "Signal3"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "DSB-SC AM\npassband2"
DstPort 1
}
Branch {
Points [0, 60; 555, 0; 0, -45]
DstBlock "Mux3"
DstPort 2
}
}
Line {
SrcBlock "AWGN\nchannel"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Butterworth\nIIR BP Filter5"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Butterworth\nIIR BP Filter6"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Butterworth\nIIR BP Filter4"
DstPort 1
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -