📄 t2r1stbc.mdl
字号:
Name "Out1"
Position [275, 88, 305, 102]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "Subsystem3"
Ports [2, 2]
Position [435, 133, 515, 197]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem3"
Location [480, 236, 904, 532]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [55, 73, 85, 87]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [55, 148, 85, 162]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "AWGN\nChannel"
Ports [1, 1]
Position [220, 59, 300, 101]
SourceBlock "commchan2/AWGN\nChannel"
SourceType "AWGN Channel"
ShowPortLabels on
seed "67"
noiseMode "Signal to noise ratio (SNR)"
EbNodB "10"
EsNodB "10"
SNRdB "10"
bitsPerSym "1"
Ps "1"
Tsym "1"
variance "1"
}
Block {
BlockType Reference
Name "AWGN\nChannel1"
Ports [1, 1]
Position [220, 134, 300, 176]
SourceBlock "commchan2/AWGN\nChannel"
SourceType "AWGN Channel"
ShowPortLabels on
seed "910"
noiseMode "Signal to noise ratio (SNR)"
EbNodB "10"
EsNodB "10"
SNRdB "10"
bitsPerSym "1"
Ps "1"
Tsym "1"
variance "1"
}
Block {
BlockType Reference
Name "Multipath Rayleigh\nFading Channel"
Ports [1, 1]
Position [110, 58, 190, 102]
SourceBlock "commchan2/Multipath Rayleigh\nFading Channe"
"l"
SourceType "Multipath Rayleigh Fading Channel"
ShowPortLabels on
Fd "40"
simTs "1e-6"
delayVec "[0]"
gainVecdB "[-1.5]"
normGain on
Seed "73"
}
Block {
BlockType Reference
Name "Multipath Rayleigh\nFading Channel1"
Ports [1, 1]
Position [110, 133, 190, 177]
SourceBlock "commchan2/Multipath Rayleigh\nFading Channe"
"l"
SourceType "Multipath Rayleigh Fading Channel"
ShowPortLabels on
Fd "40"
simTs "1e-6"
delayVec "[0]"
gainVecdB "[-1.5]"
normGain on
Seed "543"
}
Block {
BlockType Outport
Name "Out1"
Position [325, 73, 355, 87]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [325, 148, 355, 162]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel"
SrcPort 1
DstBlock "AWGN\nChannel"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel1"
SrcPort 1
DstBlock "AWGN\nChannel1"
DstPort 1
}
Line {
SrcBlock "AWGN\nChannel"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Multipath Rayleigh\nFading Channel"
DstPort 1
}
Line {
SrcBlock "AWGN\nChannel1"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Multipath Rayleigh\nFading Channel1"
DstPort 1
}
}
}
Block {
BlockType Terminator
Name "Terminator"
Position [625, 80, 645, 100]
}
Block {
BlockType Terminator
Name "Terminator1"
Position [505, 30, 525, 50]
}
Block {
BlockType Reference
Name "Unbuffer"
Ports [1, 1]
Position [895, 162, 925, 218]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType SubSystem
Name "channel1"
Ports [2, 2]
Position [410, 258, 505, 307]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('IdealEstimation')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
Port {
PortNumber 1
Name "h1"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 2
Name "h2"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
System {
Name "channel1"
Location [46, 399, 647, 704]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [35, 63, 65, 77]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [40, 98, 70, 112]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "AWGN\nChannel"
Ports [1, 1]
Position [405, 69, 485, 111]
SourceBlock "commchan2/AWGN\nChannel"
SourceType "AWGN Channel"
ShowPortLabels on
seed "67"
noiseMode "Signal to noise ratio (SNR)"
EbNodB "10"
EsNodB "10"
SNRdB "10"
bitsPerSym "1"
Ps "1"
Tsym "1"
variance "1"
}
Block {
BlockType Reference
Name "AWGN\nChannel1"
Ports [1, 1]
Position [405, 144, 485, 186]
SourceBlock "commchan2/AWGN\nChannel"
SourceType "AWGN Channel"
ShowPortLabels on
seed "910"
noiseMode "Signal to noise ratio (SNR)"
EbNodB "10"
EsNodB "10"
SNRdB "10"
bitsPerSym "1"
Ps "1"
Tsym "1"
variance "1"
}
Block {
BlockType Reference
Name "Multipath Rayleigh\nFading Channel"
Ports [1, 1]
Position [295, 68, 375, 112]
SourceBlock "commchan2/Multipath Rayleigh\nFading Channe"
"l"
SourceType "Multipath Rayleigh Fading Channel"
ShowPortLabels on
Fd "40"
simTs "1e-6"
delayVec "[0]"
gainVecdB "[-1.5]"
normGain on
Seed "73"
}
Block {
BlockType Reference
Name "Multipath Rayleigh\nFading Channel1"
Ports [1, 1]
Position [295, 143, 375, 187]
SourceBlock "commchan2/Multipath Rayleigh\nFading Channe"
"l"
SourceType "Multipath Rayleigh Fading Channel"
ShowPortLabels on
Fd "40"
simTs "1e-6"
delayVec "[0]"
gainVecdB "[-1.5]"
normGain on
Seed "543"
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [145, 53, 190, 122]
Input "Real and imag"
}
Block {
BlockType Outport
Name "Out1"
Position [520, 83, 550, 97]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [520, 158, 550, 172]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
Points [50, 0]
Branch {
DstBlock "Multipath Rayleigh\nFading Channel"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Multipath Rayleigh\nFading Channel1"
DstPort 1
}
}
Line {
SrcBlock "AWGN\nChannel1"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel1"
SrcPort 1
DstBlock "AWGN\nChannel1"
DstPort 1
}
Line {
SrcBlock "AWGN\nChannel"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel"
SrcPort 1
DstBlock "AWGN\nChannel"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
}
}
Line {
SrcBlock "Probe"
SrcPort 1
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "Bernoulli Binary\nGenerator"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "BPSK\nModulator\nBaseband"
DstPort 1
}
Branch {
Points [0, 185; 305, 0; 0, 75]
Branch {
DstBlock "Error Rate\nCalculation"
DstPort 1
}
Branch {
Points [0, 95]
DstBlock "Find Delay"
DstPort 1
}
}
}
Line {
SrcBlock "BPSK\nModulator\nBaseband"
SrcPort 1
DstBlock "Buffer"
DstPort 1
}
Line {
SrcBlock "Buffer"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Subsystem"
DstPort 1
}
Branch {
Points [0, -125]
DstBlock "Probe1"
DstPort 1
}
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [20, 0]
Branch {
Points [0, -60]
DstBlock "Probe"
DstPort 1
}
Branch {
DstBlock "Subsystem3"
DstPort 1
}
}
Line {
SrcBlock "Subsystem"
SrcPort 2
DstBlock "Subsystem3"
DstPort 2
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Subsystem1"
DstPort 1
}
Line {
SrcBlock "Subsystem1"
SrcPort 1
DstBlock "Subsystem2"
DstPort 1
}
Line {
SrcBlock "Subsystem1"
SrcPort 2
DstBlock "Subsystem2"
DstPort 2
}
Line {
SrcBlock "Subsystem2"
SrcPort 1
DstBlock "Unbuffer"
DstPort 1
}
Line {
Name "h1"
SrcBlock "Constant"
SrcPort 1
DstBlock "channel1"
DstPort 1
}
Line {
SrcBlock "Find Delay"
SrcPort 1
DstBlock "Display"
DstPort 1
}
Line {
SrcBlock "BPSK\nDemodulator\nBaseband"
SrcPort 1
Points [-150, 0]
Branch {
DstBlock "Find Delay"
DstPort 2
}
Branch {
Points [0, -90]
DstBlock "Error Rate\nCalculation"
DstPort 2
}
}
Line {
SrcBlock "Unbuffer"
SrcPort 1
Points [70, 0; 0, 350]
DstBlock "BPSK\nDemodulator\nBaseband"
DstPort 1
}
Line {
Name "h2"
SrcBlock "Constant1"
SrcPort 1
DstBlock "channel1"
DstPort 2
}
Line {
SrcBlock "Error Rate\nCalculation"
SrcPort 1
DstBlock "Display1"
DstPort 1
}
Line {
Name "h2"
Labels [0, 0]
SrcBlock "channel1"
SrcPort 2
Points [115, 0; 0, -80]
DstBlock "Subsystem1"
DstPort 3
}
Line {
Name "h1"
Labels [0, 0]
SrcBlock "channel1"
SrcPort 1
Points [95, 0; 0, -80]
DstBlock "Subsystem1"
DstPort 2
}
Line {
SrcBlock "Subsystem3"
SrcPort 2
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Subsystem3"
SrcPort 1
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Probe1"
SrcPort 1
DstBlock "Terminator1"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -