📄 mc_cdma_rayleigh_kuirs.mdl
字号:
SrcBlock "Convolutional\nEncoder"
SrcPort 1
Points [0, 0]
DstBlock "Matrix\nInterleaver"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0]
DstBlock "Convolutional\nEncoder"
DstPort 1
}
Line {
SrcBlock "Matrix\nInterleaver"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "DeSpread & DemodQPSK"
Ports [2, 1]
Position [465, 468, 595, 537]
Orientation "left"
BackgroundColor "green"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "DeSpread & DemodQPSK"
Location [159, 476, 794, 653]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [525, 38, 555, 52]
Orientation "left"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In2"
Position [580, 73, 610, 87]
Orientation "left"
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "Discrete-Time\nScatter Plot\nScope"
Tag "ScatterPlot"
Ports [1]
Position [125, 117, 175, 153]
Orientation "left"
Diagnostics "AllowInheritedTsInSrc"
FontSize 10
SourceBlock "commsink2/Discrete-Time\nScatter Plot\nScop"
"e"
SourceType "Discrete-Time Scatter Plot Scope"
ShowPortLabels on
sampPerSymb "1"
offsetEye "0"
numTraces "400"
numNewFrames "100"
LineMarkers "*"
LineColors "[1 0 0]"
fading on
render on
AxisGrid on
xMin "-1.48981002472692"
xMax "1.45670885594252"
yMin "-1.4728007653754"
yMax "1.47371811529404"
inphaseLabel "In-phase Amplitude"
quadratureLabel "Quadrature Amplitude"
openScopeAtSimStart on
FrameNumber on
FigPos "[19 0 434 434]"
figTitle "Scatter Plot"
numLinesMax "8"
block_type_ "scatter"
}
Block {
BlockType Reference
Name "Frame Status\nConversion1"
Ports [1, 1]
Position [295, 47, 345, 83]
Orientation "left"
SourceBlock "dspobslib/Frame Status\nConversion"
SourceType "Frame Status Conversion"
ShowPortLabels off
growRefPort off
outframe "Frame-based"
}
Block {
BlockType Gain
Name "Gain"
Position [515, 65, 545, 95]
Orientation "left"
Gain "1/128"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [210, 50, 240, 80]
Orientation "left"
Gain "1.414"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [405, 28, 455, 97]
Orientation "left"
Multiplication "Matrix(*)"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "QPSK\nDemodulator\nBaseband"
Ports [1, 1]
Position [80, 40, 155, 90]
Orientation "left"
FontSize 10
SourceBlock "commdigbbndpm3/QPSK\nDemodulator\nBaseband"
SourceType "QPSK Demodulator Baseband"
ShowPortLabels on
OutType "Bit"
Dec "Gray"
Ph "0"
outDtype1 "double"
outDtype2 "double"
}
Block {
BlockType Outport
Name "Out1"
Position [25, 58, 55, 72]
Orientation "left"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Frame Status\nConversion1"
SrcPort 1
Points [0, 0]
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [0, 0; -20, 0]
Branch {
DstBlock "QPSK\nDemodulator\nBaseband"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Discrete-Time\nScatter Plot\nScope"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Frame Status\nConversion1"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
Points [0, 0]
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "QPSK\nDemodulator\nBaseband"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Del CP & DeOFDM"
Ports [1, 2]
Position [880, 455, 990, 515]
Orientation "left"
BackgroundColor "cyan"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Del CP & DeOFDM"
Location [114, 414, 1103, 675]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [865, 68, 895, 82]
Orientation "left"
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "FFT"
Ports [1, 1]
Position [570, 58, 610, 92]
Orientation "left"
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag0"
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 [465, 57, 510, 93]
Orientation "left"
SourceBlock "dspobslib/Frame Status\nConversion"
SourceType "Frame Status Conversion"
ShowPortLabels "off"
growRefPort "off"
outframe "Frame-based"
}
Block {
BlockType Math
Name "Math\nFunction1"
Ports [1, 1]
Position [145, 90, 175, 120]
Orientation "left"
Operator "transpose"
}
Block {
BlockType Math
Name "Math\nFunction4"
Ports [1, 1]
Position [765, 60, 795, 90]
Orientation "left"
Operator "transpose"
}
Block {
BlockType Math
Name "Math\nFunction5"
Ports [1, 1]
Position [360, 60, 390, 90]
Orientation "left"
Operator "transpose"
}
Block {
BlockType Reference
Name "Multiport\nSelector1"
Ports [1, 2]
Position [210, 16, 290, 134]
Orientation "left"
BackgroundColor "orange"
FontSize 10
SourceBlock "dspindex/Multiport\nSelector"
SourceType "Multiport Selector"
rowsOrCols "Rows"
idxCellArray "{2:7,1}"
idxErrMode "Clip Index"
}
Block {
BlockType Selector
Name "Selector2"
Ports [1, 1]
Position [670, 56, 720, 94]
Orientation "left"
InputType "Matrix"
Elements "[1 3]"
Rows "[33:160]"
Columns "-1"
InputPortWidth "3"
}
Block {
BlockType Outport
Name "Out1"
Position [70, 38, 100, 52]
Orientation "left"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [65, 98, 95, 112]
Orientation "left"
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "FFT"
SrcPort 1
Points [0, 0]
DstBlock "Frame Status\nConversion3"
DstPort 1
}
Line {
SrcBlock "Frame Status\nConversion3"
SrcPort 1
Points [0, 0]
DstBlock "Math\nFunction5"
DstPort 1
}
Line {
SrcBlock "Math\nFunction4"
SrcPort 1
Points [0, 0]
DstBlock "Selector2"
DstPort 1
}
Line {
SrcBlock "Selector2"
SrcPort 1
DstBlock "FFT"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Math\nFunction4"
DstPort 1
}
Line {
SrcBlock "Math\nFunction5"
SrcPort 1
DstBlock "Multiport\nSelector1"
DstPort 1
}
Line {
SrcBlock "Multiport\nSelector1"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Multiport\nSelector1"
SrcPort 2
DstBlock "Math\nFunction1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
}
}
Block {
BlockType Display
Name "Display1"
Ports [1]
Position [550, 341, 635, 399]
FontSize 10
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Display5"
Ports [1]
Position [340, 326, 425, 384]
FontSize 10
Decimation "1"
Lockdown off
}
Block {
BlockType Reference
Name "Hadamard\nCode Generator"
Ports [0, 1]
Position [125, 299, 175, 371]
FontSize 10
SourceBlock "commseqgen2/Hadamard\nCode Generator"
SourceType "Hadamard Code Generator"
ShowPortLabels on
length "128"
index "2"
ts "1/128000"
frameBased on
sampPerFrame "128"
outDataType "double"
}
Block {
BlockType Reference
Name "Multipath Rayleigh\nFading Channel"
Ports [1, 1]
Position [1059, 265, 1171, 300]
Orientation "down"
NamePlacement "alternate"
FontSize 10
SourceBlock "commchan3/Multipath Rayleigh\nFading Channel"
SourceType "Multipath fading channel"
ShowPortLabels on
maxDopplerShift "snrr"
pathDelays "0"
avgPathGaindB "0"
normalizePathGains on
seed "1537"
enableProbe "0"
openVisAtStart off
outPathGains off
outDelay off
}
Block {
BlockType SubSystem
Name "OFDM & Add CP"
Ports [2, 1]
Position [865, 169, 980, 231]
BackgroundColor "cyan"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "OFDM & Add CP"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -