📄 mc_cdma_rayleigh_kuirs.mdl
字号:
BlockType Inport
Name "In1"
Position [20, 13, 50, 27]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [20, 98, 50, 112]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "IFFT"
Ports [1, 1]
Position [275, 79, 315, 111]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag1"
SourceBlock "dspxfrm3/IFFT"
SourceType "IFFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder off
cs_in off
SkipNorm off
mode "Complex"
additionalParams off
allowOverrides on
firstCoeffMode "Same word length as input"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
outputMode "Inherit via internal rule"
outputWordLength "16"
outputFracLength "15"
accumMode "Inherit via internal rule"
accumWordLength "32"
accumFracLength "30"
prodOutputMode "Inherit via internal rule"
prodOutputWordLength "32"
prodOutputFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType Math
Name "Math\nFunction2"
Ports [1, 1]
Position [110, 90, 140, 120]
Operator "transpose"
}
Block {
BlockType Math
Name "Math\nFunction3"
Ports [1, 1]
Position [480, 80, 510, 110]
Operator "transpose"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation"
Ports [2, 1]
Position [185, 74, 240, 116]
FontSize 10
SourceBlock "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Horizontal"
}
Block {
BlockType Selector
Name "Selector1"
Ports [1, 1]
Position [365, 76, 415, 114]
InputType "Matrix"
Elements "[1 3]"
Rows "[1:32,1:128]"
Columns "-1"
InputPortWidth "3"
}
Block {
BlockType Outport
Name "Out1"
Position [590, 88, 620, 102]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "IFFT"
SrcPort 1
DstBlock "Selector1"
DstPort 1
}
Line {
SrcBlock "Selector1"
SrcPort 1
DstBlock "Math\nFunction3"
DstPort 1
}
Line {
SrcBlock "Math\nFunction3"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Math\nFunction2"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [90, 0; 0, 65]
DstBlock "Matrix\nConcatenation"
DstPort 1
}
Line {
SrcBlock "Math\nFunction2"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 2
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
DstBlock "IFFT"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "QPSK\nSpread"
Ports [2, 1]
Position [485, 176, 615, 254]
BackgroundColor "green"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "QPSK\nSpread"
Location [106, 449, 814, 755]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [35, 98, 65, 112]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [40, 173, 70, 187]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Gain
Name "Gain1"
Position [270, 90, 300, 120]
Gain "1/1.414"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Math
Name "Math\nFunction1"
Ports [1, 1]
Position [135, 165, 165, 195]
Operator "transpose"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [405, 79, 460, 181]
Multiplication "Matrix(*)"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "QPSK\nModulator\nBaseband1"
Ports [1, 1]
Position [120, 81, 195, 129]
FontSize 10
SourceBlock "commdigbbndpm2/QPSK\nModulator\nBaseband"
SourceType "QPSK Modulator Baseband"
ShowPortLabels on
InType "Integer"
Enc "Binary"
Ph "pi/4"
numSamp "1"
}
Block {
BlockType Outport
Name "Out1"
Position [550, 123, 580, 137]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "QPSK\nModulator\nBaseband1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "QPSK\nModulator\nBaseband1"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Math\nFunction1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
Points [145, 0; 0, -25]
DstBlock "Product"
DstPort 2
}
}
}
Block {
BlockType Reference
Name "Reshape"
Ports [1, 1]
Position [1020, 177, 1075, 223]
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Customize"
OutputDimensions "[160*7,1]"
}
Block {
BlockType Reference
Name "Reshape1"
Ports [1, 1]
Position [1035, 457, 1095, 513]
Orientation "left"
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Customize"
OutputDimensions "[7,160]"
}
Block {
BlockType SubSystem
Name "Subsystem7"
Ports [3, 1]
Position [690, 450, 790, 580]
Orientation "left"
BackgroundColor "yellow"
FontSize 10
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('channel estimate\\nequilization')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem7"
Location [123, 104, 1105, 485]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "r_sig"
Position [15, 88, 45, 102]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "r_pn "
Position [50, 178, 80, 192]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "t_pn"
Position [45, 248, 75, 262]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Frame Status\nConversion1"
Ports [1, 1]
Position [615, 122, 665, 158]
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
ShowPortLabels off
growRefPort off
outframe "Frame-based"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [320, 280, 350, 310]
Operator "magnitude^2"
}
Block {
BlockType Reference
Name "Mean"
Ports [1, 1]
Position [400, 179, 440, 231]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag2"
FontSize 10
SourceBlock "dspstat3/Mean"
SourceType "Mean"
run off
reset_popup "None"
additionalParams off
allowOverrides on
outputMode "Same as accumulator"
outputWordLength "32"
outputFracLength "30"
accumMode "Same as input"
accumWordLength "32"
accumFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType Reference
Name "Mean1"
Ports [1, 1]
Position [400, 252, 440, 308]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag3"
FontSize 10
SourceBlock "dspstat3/Mean"
SourceType "Mean"
run off
reset_popup "Non-zero sample"
additionalParams off
allowOverrides on
outputMode "Same as accumulator"
outputWordLength "32"
outputFracLength "30"
accumMode "Same as input"
accumWordLength "32"
accumFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [120, 152, 160, 288]
Inputs "*/"
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [830, 98, 850, 162]
Inputs "**"
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [530, 202, 565, 273]
Inputs "/*"
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Reference
Name "Transpose1"
Ports [1, 1]
Position [205, 200, 240, 240]
FontSize 10
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
Hermitian off
overflowFlag on
}
Block {
BlockType Reference
Name "Transpose2"
Ports [1, 1]
Position [700, 125, 755, 165]
FontSize 10
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
Hermitian off
overflowFlag on
}
Block {
BlockType Outport
Name "Out1"
Position [905, 123, 935, 137]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Transpose1"
DstPort 1
}
Line {
SrcBlock "r_sig"
SrcPort 1
Points [705, 0; 0, 20]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "r_pn "
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Transpose1"
SrcPort 1
Points [45, 0]
Branch {
Points [0, 75]
DstBlock "Math\nFunction"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -