?? mc_cdma_rayleigh_kuirs.mdl
字號:
Points [0, 75]
DstBlock "Math\nFunction"
DstPort 1
}
Branch {
Points [95, 0]
DstBlock "Mean"
DstPort 1
}
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [30, 0]
DstBlock "Mean1"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [30, 0]
DstBlock "Frame Status\nConversion"
DstPort 1
}
Line {
SrcBlock "Frame Status\nConversion"
SrcPort 1
DstBlock "Transpose2"
DstPort 1
}
Line {
SrcBlock "Transpose2"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Mean"
SrcPort 1
Points [45, 0; 0, 15]
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Mean1"
SrcPort 1
Points [45, 0; 0, -25]
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "t_pn"
SrcPort 1
DstBlock "Product"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "deCode & deInterleave"
Ports [1, 1]
Position [280, 475, 385, 535]
Orientation "left"
BackgroundColor "yellow"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "disp('deCode \\n deInterleave')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "deCode & deInterleave"
Location [227, 555, 597, 663]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [315, 48, 345, 62]
Orientation "left"
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "Matrix\nDeinterleaver"
Ports [1, 1]
Position [200, 28, 280, 82]
Orientation "left"
FontSize 10
SourceBlock "commblkintrlv2/Matrix\nDeinterleaver"
SourceType "Matrix Deinterleaver"
ShowPortLabels "on"
Nrows "3"
Ncols "4"
}
Block {
BlockType Reference
Name "Viterbi Decoder"
Ports [1, 1]
Position [80, 27, 170, 83]
Orientation "left"
FontSize 10
SourceBlock "commcnvcod2/Viterbi Decoder"
SourceType "Viterbi Decoder"
trellis "poly2trellis(7, [171 133])"
dectype "Hard Decision"
nsdecb "4"
tbdepth "6"
opmode "Continuous"
reset "off"
outDataType "double"
}
Block {
BlockType Outport
Name "Out1"
Position [25, 48, 55, 62]
Orientation "left"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Matrix\nDeinterleaver"
SrcPort 1
DstBlock "Viterbi Decoder"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0]
DstBlock "Matrix\nDeinterleaver"
DstPort 1
}
Line {
SrcBlock "Viterbi Decoder"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "train sequence"
Ports [0, 1]
Position [490, 96, 600, 144]
ForegroundColor "magenta"
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]
FontSize 10
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 "1/1000/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]
FontSize 10
SourceBlock "commutil2/Unipolar to\nBipolar\nConverter"
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 SubSystem
Name "train sequence1"
Ports [0, 1]
Position [880, 536, 990, 584]
Orientation "left"
ForegroundColor "magenta"
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 sequence1"
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, 79, 100, 151]
FontSize 10
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 "1/1000/128"
frameBased "on"
sampPerFrame "128"
reset "off"
outDataType "double"
}
Block {
BlockType Reference
Name "Unipolar to\nBipolar\nConverter1"
Ports [1, 1]
Position [145, 79, 230, 151]
FontSize 10
SourceBlock "commutil2/Unipolar to\nBipolar\nConverter"
SourceType "Unipolar to Bipolar Converter"
ShowPortLabels "on"
M "2"
polarity "Negative"
}
Block {
BlockType Outport
Name "Out1"
Position [315, 108, 345, 122]
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
}
}
}
Line {
SrcBlock "AWGN\nChannel"
SrcPort 1
DstBlock "Reshape1"
DstPort 1
}
Line {
SrcBlock "Reshape"
SrcPort 1
Points [35, 0]
DstBlock "Multipath Rayleigh\nFading Channel"
DstPort 1
}
Line {
SrcBlock "Reshape1"
SrcPort 1
Points [0, 0]
DstBlock "Del CP & DeOFDM"
DstPort 1
}
Line {
SrcBlock "OFDM & Add CP"
SrcPort 1
DstBlock "Reshape"
DstPort 1
}
Line {
SrcBlock "Cal ERROR"
SrcPort 1
DstBlock "Display5"
DstPort 1
}
Line {
SrcBlock "DeSpread & DemodQPSK"
SrcPort 1
Points [0, 0; -20, 0]
Branch {
Points [0, -120]
DstBlock "Cal ERROR1"
DstPort 2
}
Branch {
DstBlock "deCode & deInterleave"
DstPort 1
}
}
Line {
SrcBlock "Bernoulli Binary\nGenerator"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, 145]
DstBlock "Cal ERROR"
DstPort 1
}
Branch {
DstBlock "Code & Interleave"
DstPort 1
}
}
Line {
SrcBlock "Hadamard\nCode Generator"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 250; 440, 0; 0, -65]
DstBlock "DeSpread & DemodQPSK"
DstPort 2
}
Branch {
Points [0, -70; 275, 0]
DstBlock "QPSK\nSpread"
DstPort 2
}
}
Line {
SrcBlock "deCode & deInterleave"
SrcPort 1
Points [-45, 0; 0, -135]
DstBlock "Cal ERROR"
DstPort 2
}
Line {
SrcBlock "Code & Interleave"
SrcPort 1
Points [0, 0; 60, 0]
Branch {
DstBlock "QPSK\nSpread"
DstPort 1
}
Branch {
Points [0, 155]
DstBlock "Cal ERROR1"
DstPort 1
}
}
Line {
SrcBlock "Cal ERROR1"
SrcPort 1
DstBlock "Display1"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel"
SrcPort 1
Points [-5, 0]
DstBlock "AWGN\nChannel"
DstPort 1
}
Line {
SrcBlock "QPSK\nSpread"
SrcPort 1
DstBlock "OFDM & Add CP"
DstPort 2
}
Line {
SrcBlock "Del CP & DeOFDM"
SrcPort 1
DstBlock "Subsystem7"
DstPort 1
}
Line {
SrcBlock "Subsystem7"
SrcPort 1
Points [-30, 0; 0, -30]
DstBlock "DeSpread & DemodQPSK"
DstPort 1
}
Line {
SrcBlock "Del CP & DeOFDM"
SrcPort 2
Points [-15, 0; 0, 15]
DstBlock "Subsystem7"
DstPort 2
}
Line {
SrcBlock "train sequence"
SrcPort 1
Points [100, 0; 0, 65]
DstBlock "OFDM & Add CP"
DstPort 1
}
Line {
SrcBlock "train sequence1"
SrcPort 1
DstBlock "Subsystem7"
DstPort 3
}
}
}
MatData {
NumRecords 4
DataRecord {
Tag DataTag3
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"$ 0 0 0 365A;@"
}
DataRecord {
Tag DataTag2
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"$ 0 0 0 365A;@"
}
DataRecord {
Tag DataTag1
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"$ 0 0 0 249&5 "
}
DataRecord {
Tag DataTag0
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"# 0 0 , 1D94 "
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -