📄 ofdm_cdma.mdl
字号:
Line {
SrcBlock "Reshape1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Reshape3"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem4"
Ports [1, 1]
Position [250, 25, 345, 85]
FontSize 12
FontWeight "bold"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "disp('OFDM\\n\\nadd Guard')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem4"
Location [174, 169, 1056, 345]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [75, 105, 90, 135]
IconDisplay "Port number"
}
Block {
BlockType Selector
Name "Add Cyclic\nPrefix"
Ports [1, 1]
Position [590, 73, 640, 117]
InputType "Matrix"
Elements "[97:128 1:128]"
Rows "[97:128 1:128]"
Columns "-1"
InputPortWidth "128"
}
Block {
BlockType Reference
Name "IFFT1"
Ports [1, 1]
Position [510, 79, 550, 111]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag0"
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 Reference
Name "Matrix\nConcatenation1"
Ports [3, 1]
Position [390, 32, 425, 138]
SourceBlock "simulink/Math\nOperations/Matrix\nConca"
"tenation"
SourceType "Matrix Concatenation"
numInports "3"
catMethod "Horizontal"
}
Block {
BlockType Reference
Name "Reshape2"
Ports [1, 1]
Position [680, 72, 725, 118]
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Customize"
OutputDimensions "[2720,1]"
}
Block {
BlockType SubSystem
Name "train sequence"
Ports [0, 1]
Position [110, 26, 220, 74]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "disp('train sequence\\nPN\\nbipolar')\n"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "train sequence"
Location [215, 393, 630, 639]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "PN Sequence\nGenerator"
Ports [0, 1]
Position [15, 108, 95, 152]
SourceBlock "commseqgen2/PN Sequence\nGenerator"
SourceType "PN Sequence Generator"
poly "[1 0 0 0 0 1 1]"
ini_sta "[0 0 0 0 0 1]"
shift "0"
Ts "sampletime/128"
frameBased "on"
sampPerFrame "128"
reset "off"
outDataType "double"
}
Block {
BlockType Reference
Name "Unipolar to\nBipolar\nConverter1"
Ports [1, 1]
Position [160, 106, 240, 154]
SourceBlock "commutil2/Unipolar to\nBipolar\nCon"
"verter"
SourceType "Unipolar to Bipolar Converter"
ShowPortLabels "on"
M "2"
polarity "Negative"
}
Block {
BlockType Outport
Name "Out1"
Position [335, 123, 365, 137]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "PN Sequence\nGenerator"
SrcPort 1
DstBlock "Unipolar to\nBipolar\nConverter1"
DstPort 1
}
Line {
SrcBlock "Unipolar to\nBipolar\nConverter1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out"
Position [765, 88, 795, 102]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "IFFT1"
SrcPort 1
DstBlock "Add Cyclic\nPrefix"
DstPort 1
}
Line {
SrcBlock "Matrix\nConcatenation1"
SrcPort 1
Points [0, 10]
DstBlock "IFFT1"
DstPort 1
}
Line {
SrcBlock "Add Cyclic\nPrefix"
SrcPort 1
Points [0, 0]
DstBlock "Reshape2"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Matrix\nConcatenation1"
DstPort 3
}
Line {
SrcBlock "train sequence"
SrcPort 1
Points [0, 0; 40, 0]
Branch {
DstBlock "Matrix\nConcatenation1"
DstPort 1
}
Branch {
Points [0, 35]
DstBlock "Matrix\nConcatenation1"
DstPort 2
}
}
Line {
SrcBlock "Reshape2"
SrcPort 1
Points [0, 0]
DstBlock "Out"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out1"
Position [370, 53, 400, 67]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [60, 88, 90, 102]
Orientation "left"
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Subsystem1"
SrcPort 1
DstBlock "Subsystem4"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [55, 40]
Branch {
DstBlock "Subsystem1"
DstPort 2
}
Branch {
Points [-25, 0]
DstBlock "Out2"
DstPort 1
}
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Subsystem1"
DstPort 1
}
Line {
SrcBlock "Subsystem4"
SrcPort 1
Points [0, 5]
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [1, 1]
Position [550, 369, 650, 481]
Orientation "left"
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Subsystem2"
Location [655, 553, 1070, 769]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [360, 48, 390, 62]
Orientation "left"
IconDisplay "Port number"
}
Block {
BlockType Constant
Name "Constant"
Position [130, 65, 160, 95]
Orientation "left"
FontName "Arial"
FontSize 12
FontWeight "bold"
Value "eq"
}
Block {
BlockType SubSystem
Name "Subsystem5"
Ports [1, 2]
Position [280, 26, 335, 84]
Orientation "left"
FontSize 12
FontWeight "bold"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "disp('OFDM\\n\\nReceive')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem5"
Location [225, 535, 1015, 700]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [725, 73, 755, 87]
Orientation "left"
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "FFT"
Ports [1, 1]
Position [425, 63, 465, 97]
Orientation "left"
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag1"
SourceBlock "dspxfrm3/FFT"
SourceType "FFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder off
additionalParams off
SkipNorm on
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 Reference
Name "Frame Status\nConversion3"
Ports [1, 1]
Position [340, 62, 385, 98]
Orientation "left"
SourceBlock "dspobslib/Frame Status\nConversion"
SourceType "Frame Status Conversion"
ShowPortLabels off
growRefPort off
outframe "Frame-based"
}
Block {
BlockType Reference
Name "Multiport\nSelector"
Ports [1, 2]
Position [195, 28, 250, 117]
Orientation "left"
SourceBlock "dspindex/Multiport\nSelector"
SourceType "Multiport Selector"
rowsOrCols "Columns"
idxCellArray "{1:2,3:17}"
idxErrMode "Clip Index"
}
Block {
BlockType Reference
Name "Reshape1"
Ports [1, 1]
Position [620, 56, 675, 104]
Orientation "left"
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Customize"
OutputDimensions "[160,17]"
}
Block {
BlockType Selector
Name "de cp"
Ports [1, 1]
Position [515, 61, 565, 99]
Orientation "left"
InputType "Matrix"
Elements "[1 3]"
Rows "[33:160]"
Columns "-1"
InputPortWidth "3"
}
Block {
BlockType Outport
Name "Out1"
Position [35, 88, 65, 102]
Orientation "left"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [35, 43, 65, 57]
Orientation "left"
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Reshape1"
SrcPort 1
DstBlock "de cp"
DstPort 1
}
Line {
SrcBlock "FFT"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -