📄 ds_cdma1.mdl
字号:
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "DS_CDMA1"
Location [2, 70, 1438, 851]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "AWGN\nChannel"
Ports [1, 1]
Position [620, 159, 700, 201]
SourceBlock "commchan2/AWGN\nChannel"
SourceType "AWGN Channel"
ShowPortLabels on
seed "67"
noiseMode "Signal to noise ratio (SNR)"
EbNodB "10"
EsNodB "10"
SNRdB "SNR"
bitsPerSym "1"
Ps "1"
Tsym "1e-4/32"
variance "1"
}
Block {
BlockType Reference
Name "BPSK\nModulator\nBaseband"
Ports [1, 1]
Position [200, 46, 275, 94]
SourceBlock "commdigbbndpm2/BPSK\nModulator\nBaseband"
SourceType "BPSK Modulator Baseband"
ShowPortLabels on
Ph "0"
numSamp "1"
}
Block {
BlockType Reference
Name "BPSK\nModulator\nBaseband1"
Ports [1, 1]
Position [210, 251, 285, 299]
SourceBlock "commdigbbndpm2/BPSK\nModulator\nBaseband"
SourceType "BPSK Modulator Baseband"
ShowPortLabels on
Ph "0"
numSamp "1"
}
Block {
BlockType Reference
Name "BPSK\nModulator\nBaseband2"
Ports [1, 1]
Position [215, 146, 290, 194]
SourceBlock "commdigbbndpm2/BPSK\nModulator\nBaseband"
SourceType "BPSK Modulator Baseband"
ShowPortLabels on
Ph "0"
numSamp "1"
}
Block {
BlockType Reference
Name "Delay1"
Ports [1, 1]
Position [535, 259, 585, 291]
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "32"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Delay3"
Ports [1, 1]
Position [510, 55, 565, 85]
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "32"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType SubSystem
Name "EGC"
Ports [3, 1]
Position [830, 357, 915, 473]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "EGC"
Location [2, 82, 1270, 753]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [80, 28, 110, 42]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [80, 83, 110, 97]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In3"
Position [85, 148, 115, 162]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType ComplexToMagnitudeAngle
Name "Complex to\nMagnitude-Angle1"
Ports [1, 1]
Position [675, 90, 705, 120]
Output "Magnitude"
}
Block {
BlockType ComplexToMagnitudeAngle
Name "Complex to\nMagnitude-Angle2"
Ports [1, 1]
Position [675, 465, 705, 495]
Output "Magnitude"
}
Block {
BlockType ComplexToMagnitudeAngle
Name "Complex to\nMagnitude-Angle3"
Ports [1, 1]
Position [690, 255, 720, 285]
Output "Magnitude"
}
Block {
BlockType Reference
Name "Delay1"
Ports [1, 1]
Position [150, 74, 200, 106]
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "16"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Delay2"
Ports [1, 1]
Position [250, 240, 305, 280]
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "8"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Delay3"
Ports [1, 1]
Position [255, 70, 310, 110]
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "16"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType Product
Name "Divide1"
Ports [2, 1]
Position [730, 75, 770, 115]
Inputs "*/"
InputSameDT off
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide2"
Ports [2, 1]
Position [740, 450, 780, 490]
Inputs "*/"
InputSameDT off
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide3"
Ports [2, 1]
Position [745, 240, 785, 280]
Inputs "*/"
InputSameDT off
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [515, 135, 545, 165]
Operator "conj"
}
Block {
BlockType Math
Name "Math\nFunction1"
Ports [1, 1]
Position [540, 295, 565, 325]
Operator "conj"
}
Block {
BlockType Math
Name "Math\nFunction2"
Ports [1, 1]
Position [500, 510, 530, 540]
Operator "conj"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [400, 26, 445, 59]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [385, 131, 430, 164]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [570, 86, 615, 119]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product4"
Ports [2, 1]
Position [590, 251, 635, 284]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product5"
Ports [2, 1]
Position [395, 201, 440, 234]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product6"
Ports [2, 1]
Position [395, 291, 440, 324]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product7"
Ports [2, 1]
Position [565, 461, 610, 494]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product8"
Ports [2, 1]
Position [370, 441, 415, 474]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product9"
Ports [2, 1]
Position [365, 506, 410, 539]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [965, 194, 1035, 306]
ShowName off
Inputs "|+++"
InputSameDT off
}
Block {
BlockType Sum
Name "Sum of\nElements"
Ports [1, 1]
Position [465, 25, 505, 65]
Inputs "+"
InputSameDT off
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum of\nElements1"
Ports [1, 1]
Position [460, 130, 500, 170]
Inputs "+"
InputSameDT off
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum of\nElements2"
Ports [1, 1]
Position [475, 200, 515, 240]
Inputs "+"
InputSameDT off
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum of\nElements3"
Ports [1, 1]
Position [480, 290, 520, 330]
Inputs "+"
InputSameDT off
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum of\nElements4"
Ports [1, 1]
Position [445, 440, 485, 480]
Inputs "+"
InputSameDT off
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum of\nElements5"
Ports [1, 1]
Position [440, 505, 480, 545]
Inputs "+"
InputSameDT off
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [1080, 243, 1110, 257]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Delay1"
DstPort 1
}
Line {
SrcBlock "Sum of\nElements1"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Sum of\nElements1"
DstPort 1
}
Line {
SrcBlock "Sum of\nElements"
SrcPort 1
Points [25, 0; 0, 50]
DstBlock "Product3"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Sum of\nElements"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Product1"
DstPort 1
}
Branch {
Points [0, 185]
Branch {
Points [0, 245]
DstBlock "Product8"
DstPort 2
}
Branch {
Points [0, 5]
DstBlock "Product5"
DstPort 2
}
}
}
Line {
SrcBlock "In3"
SrcPort 1
Points [55, 0]
Branch {
DstBlock "Product2"
DstPort 2
}
Branch {
Points [0, 160]
Branch {
Points [0, 215]
DstBlock "Product9"
DstPort 2
}
Branch {
DstBlock "Product6"
DstPort 2
}
}
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [5, 0]
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Delay3"
SrcPort 1
Points [20, 0]
Branch {
Points [0, -40]
DstBlock "Product1"
DstPort 2
}
Branch {
Points [0, 50]
DstBlock "Product2"
DstPort 1
}
}
Line {
SrcBlock "Delay1"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Delay3"
DstPort 1
}
Branch {
Points [0, 115]
Branch {
Points [0, 195]
Branch {
Points [0, 115]
DstBlock "Product9"
DstPort 1
}
Branch {
Points [0, 50]
DstBlock "Product8"
DstPort 1
}
}
Branch {
Points [0, 55]
DstBlock "Delay2"
DstPort 1
}
}
}
Line {
SrcBlock "Sum of\nElements3"
SrcPort 1
DstBlock "Math\nFunction1"
DstPort 1
}
Line {
SrcBlock "Sum of\nElements2"
SrcPort 1
Points [50, 0; 0, 40]
DstBlock "Product4"
DstPort 1
}
Line {
SrcBlock "Product6"
SrcPort 1
DstBlock "Sum of\nElements3"
DstPort 1
}
Line {
SrcBlock "Product5"
SrcPort 1
DstBlock "Sum of\nElements2"
DstPort 1
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
Points [0, -35]
DstBlock "Product4"
DstPort 2
}
Line {
SrcBlock "Product8"
SrcPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -