📄 mimo.mdl
字号:
}
Block {
BlockType Reference
Name "Multiport\nSelector9"
Ports [1, 2]
Position [730, 640, 790, 675]
NamePlacement "alternate"
SourceBlock "dspindex/Multiport\nSelector"
SourceType "Multiport Selector"
rowsOrCols "Rows"
idxCellArray "{ [1:1:4],5 }"
idxErrMode "Clip Index"
}
Block {
BlockType Reference
Name "QPSK\nDemodulator\nBaseband"
Ports [1, 1]
Position [625, 1470, 700, 1520]
NamePlacement "alternate"
SourceBlock "commdigbbndpm2/QPSK\nDemodulator\nBaseband"
SourceType "QPSK Demodulator Baseband"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
OutType "Bit"
Dec "Binary"
Ph "pi/4"
numSamp "1"
}
Block {
BlockType Reference
Name "QPSK\nModulator\nBaseband"
Ports [1, 1]
Position [170, 351, 245, 399]
SourceBlock "commdigbbndpm2/QPSK\nModulator\nBaseband"
SourceType "QPSK Modulator Baseband"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
InType "Bit"
Enc "Binary"
Ph "pi/4"
numSamp "1"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [2, 1]
Position [100, 1459, 200, 1501]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem"
Location [2, 74, 1014, 722]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "H"
Position [30, 43, 60, 57]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "r"
Position [115, 153, 145, 167]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Product
Name "Matrix Multiply2"
Ports [2, 1]
Position [240, 131, 295, 169]
Multiplication "Matrix(*)"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Pseudoinverse"
Ports [1, 1]
Position [115, 20, 190, 80]
SourceBlock "dspinverses/Pseudoinverse"
SourceType "Pseudoinverse"
wanterr off
}
Block {
BlockType Outport
Name "x"
Position [310, 143, 340, 157]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "H"
SrcPort 1
DstBlock "Pseudoinverse"
DstPort 1
}
Line {
SrcBlock "r"
SrcPort 1
DstBlock "Matrix Multiply2"
DstPort 2
}
Line {
SrcBlock "Matrix Multiply2"
SrcPort 1
DstBlock "x"
DstPort 1
}
Line {
SrcBlock "Pseudoinverse"
SrcPort 1
Points [15, 0; 0, 90]
DstBlock "Matrix Multiply2"
DstPort 1
}
}
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [940, 1365, 1000, 1395]
VariableName "binBER"
MaxDataPoints "1"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType Reference
Name "Transpose"
Ports [1, 1]
Position [1400, 680, 1455, 720]
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Hermitian off
overflowFlag off
}
Line {
SrcBlock "Matrix\nConcatenation7"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Multipath Rayleigh\nFading Channel"
DstPort 1
}
Branch {
Points [0, 80]
Branch {
DstBlock "Multipath Rayleigh\nFading Channel4"
DstPort 1
}
Branch {
Points [0, 80]
Branch {
DstBlock "Multipath Rayleigh\nFading Channel5"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Multipath Rayleigh\nFading Channel6"
DstPort 1
}
}
}
}
Line {
SrcBlock "Matrix\nConcatenation1"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 80]
Branch {
Points [0, 80]
Branch {
Points [0, 85]
DstBlock "Multipath Rayleigh\nFading Channel7"
DstPort 1
}
Branch {
DstBlock "Multipath Rayleigh\nFading Channel3"
DstPort 1
}
}
Branch {
DstBlock "Multipath Rayleigh\nFading Channel2"
DstPort 1
}
}
Branch {
DstBlock "Multipath Rayleigh\nFading Channel1"
DstPort 1
}
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel"
SrcPort 1
DstBlock "Multiport\nSelector7"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel4"
SrcPort 1
DstBlock "Multiport\nSelector2"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel5"
SrcPort 1
DstBlock "Multiport\nSelector3"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel6"
SrcPort 1
DstBlock "Multiport\nSelector4"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel1"
SrcPort 1
DstBlock "Multiport\nSelector5"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel2"
SrcPort 1
Points [15, 0; 0, 5]
DstBlock "Multiport\nSelector6"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel3"
SrcPort 1
Points [15, 0; 0, 5]
DstBlock "Multiport\nSelector8"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel7"
SrcPort 1
Points [15, 0; 0, -5]
DstBlock "Multiport\nSelector9"
DstPort 1
}
Line {
SrcBlock "Matrix\nConcatenation3"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 80]
Branch {
Points [0, 80]
Branch {
DstBlock "Multipath Rayleigh\nFading Channel10"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Multipath Rayleigh\nFading Channel11"
DstPort 1
}
}
Branch {
DstBlock "Multipath Rayleigh\nFading Channel9"
DstPort 1
}
}
Branch {
DstBlock "Multipath Rayleigh\nFading Channel8"
DstPort 1
}
}
Line {
SrcBlock "Matrix\nConcatenation2"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 80]
Branch {
Points [0, 80]
Branch {
DstBlock "Multipath Rayleigh\nFading Channel14"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Multipath Rayleigh\nFading Channel15"
DstPort 1
}
}
Branch {
DstBlock "Multipath Rayleigh\nFading Channel13"
DstPort 1
}
}
Branch {
DstBlock "Multipath Rayleigh\nFading Channel12"
DstPort 1
}
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel8"
SrcPort 1
DstBlock "Multiport\nSelector17"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel9"
SrcPort 1
Points [15, 0; 0, 10]
DstBlock "Multiport\nSelector10"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel10"
SrcPort 1
Points [15, 0; 0, 15]
DstBlock "Multiport\nSelector11"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel11"
SrcPort 1
Points [20, 0; 0, 10]
DstBlock "Multiport\nSelector12"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel12"
SrcPort 1
Points [20, 0; 0, 15]
DstBlock "Multiport\nSelector13"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel14"
SrcPort 1
Points [25, 0; 0, 5]
DstBlock "Multiport\nSelector14"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel15"
SrcPort 1
Points [25, 0; 0, -20]
DstBlock "Multiport\nSelector16"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel13"
SrcPort 1
DstBlock "Multiport\nSelector15"
DstPort 1
}
Line {
SrcBlock "DSP\nConstant"
SrcPort 1
DstBlock "BPSK\nModulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "BPSK\nModulator\nBaseband"
SrcPort 1
Points [15, 0]
Branch {
Points [5, 0; 0, -240]
Branch {
Points [0, -325]
DstBlock "Matrix\nConcatenation7"
DstPort 2
}
Branch {
DstBlock "Matrix\nCo
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -