📄 ofdm_cdma.mdl
字号:
SrcPort 1
DstBlock "Frame Status\nConversion3"
DstPort 1
}
Line {
SrcBlock "de cp"
SrcPort 1
DstBlock "FFT"
DstPort 1
}
Line {
SrcBlock "Frame Status\nConversion3"
SrcPort 1
Points [-70, 0]
DstBlock "Multiport\nSelector"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Reshape1"
DstPort 1
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 2
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem9"
Ports [3, 1]
Position [150, 119, 235, 181]
Orientation "left"
NamePlacement "alternate"
FontName "Arial"
FontSize 12
FontWeight "bold"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "disp('channel estimate\\nequilization')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem9"
Location [66, 78, 1219, 568]
Open off
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]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "r_pn "
Position [20, 178, 50, 192]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "t_pn"
Position [15, 238, 45, 252]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Abs
Name "Abs"
Position [335, 265, 365, 295]
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [490, 349, 525, 416]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Constant"
Position [295, 419, 400, 451]
BackgroundColor "lightBlue"
Value "lamda"
}
Block {
BlockType Constant
Name "Constant1"
Position [555, 207, 580, 233]
BackgroundColor "orange"
}
Block {
BlockType Constant
Name "Constant2"
Position [540, 170, 610, 200]
ForegroundColor "cyan"
BackgroundColor "blue"
FontName "Arial"
FontSize 12
FontWeight "bold"
Value "mode"
}
Block {
BlockType Reference
Name "Frame Status\nConversion"
Ports [1, 1]
Position [850, 210, 885, 270]
SourceBlock "dspobslib/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, 350, 350, 380]
Operator "magnitude^2"
}
Block {
BlockType Math
Name "Math\nFunction1"
Ports [1, 1]
Position [440, 205, 460, 235]
ShowName off
Operator "conj"
OutputSignalType "complex"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation"
Ports [2, 1]
Position [90, 234, 145, 276]
SourceBlock "simulink/Math\nOperations/Matrix\nConca"
"tenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Horizontal"
}
Block {
BlockType Reference
Name "Mean"
Ports [1, 1]
Position [340, 194, 380, 246]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag2"
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 [385, 337, 425, 393]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag3"
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 Reference
Name "Mean2"
Ports [1, 1]
Position [385, 252, 425, 308]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag4"
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 MultiPortSwitch
Name "Multiport\nSwitch"
Ports [5, 1]
Position [675, 162, 695, 348]
BackgroundColor "green"
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [165, 152, 205, 288]
Inputs "*/"
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [1065, 78, 1085, 142]
Inputs "**"
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [750, 202, 785, 273]
Inputs "*/"
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Reference
Name "Repeat"
Ports [1, 1]
Position [928, 165, 982, 195]
Orientation "up"
ShowName off
SourceBlock "dspsigops/Repeat"
SourceType "Repeat"
N "15"
ic "0"
mode "Maintain input frame rate"
}
Block {
BlockType Reference
Name "Transpose1"
Ports [1, 1]
Position [230, 200, 265, 240]
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
Hermitian off
overflowFlag on
}
Block {
BlockType Reference
Name "Transpose2"
Ports [1, 1]
Position [995, 105, 1030, 145]
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
Hermitian off
overflowFlag on
}
Block {
BlockType Outport
Name "Out1"
Position [1120, 103, 1150, 117]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Transpose1"
DstPort 1
}
Line {
SrcBlock "r_sig"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "r_pn "
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Transpose1"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Mean"
DstPort 1
}
Branch {
Points [0, 60]
Branch {
DstBlock "Abs"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Math\nFunction"
DstPort 1
}
}
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Mean1"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Frame Status\nConversion"
DstPort 1
}
Line {
SrcBlock "Frame Status\nConversion"
SrcPort 1
Points [65, 0]
DstBlock "Repeat"
DstPort 1
}
Line {
SrcBlock "Mean"
SrcPort 1
DstBlock "Math\nFunction1"
DstPort 1
}
Line {
SrcBlock "Repeat"
SrcPort 1
Points [0, -35]
DstBlock "Transpose2"
DstPort 1
}
Line {
SrcBlock "t_pn"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Matrix\nConcatenation"
DstPort 1
}
Branch {
Points [25, 0]
DstBlock "Matrix\nConcatenation"
DstPort 2
}
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Transpose2"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Mean1"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
DstBlock "Add"
DstPort 1
}
Branch {
Points [0, -75]
DstBlock "Multiport\nSwitch"
DstPort 4
}
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [70, 0]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Add"
SrcPort 1
Points [30, 0; 0, -60]
DstBlock "Multiport\nSwitch"
DstPort 5
}
Line {
SrcBlock "Constant2"
SrcPort 1
DstBlock "Multiport\nSwitch"
DstPort 1
}
Line {
SrcBlock "Multiport\nSwitch"
SrcPort 1
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
Points [40, 0; 0, -90; 230, 0]
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Abs"
SrcPort 1
DstBlock "Mean2"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
DstBlock "Multiport\nSwitch"
DstPort 2
}
Line {
SrcBlock "Mean2"
SrcPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -