📄 t2r1stbc3.mdl
字号:
DstPort 1
}
Line {
SrcBlock "Probe2"
SrcPort 1
DstBlock "Terminator2"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Frame Conversion"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Frame Conversion1"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Frame Conversion2"
SrcPort 1
Points [45, 0]
Branch {
Points [125, 0]
Branch {
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, 250]
DstBlock "Product2"
DstPort 1
}
}
Branch {
Points [0, -85]
DstBlock "Probe"
DstPort 1
}
}
Line {
Labels [0, 0]
SrcBlock "Frame Conversion3"
SrcPort 1
DstBlock "Math\nFunction1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [2, 1]
Position [865, 150, 965, 230]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('Maximumlikelihood\\nEstimation')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem2"
Location [355, 196, 737, 457]
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, 68, 85, 82]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [55, 108, 85, 122]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Matrix\nConcatenation"
Ports [2, 1]
Position [140, 56, 190, 134]
SourceBlock "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Outport
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 Terminator
Name "Terminator1"
Position [515, 30, 535, 50]
}
Block {
BlockType Reference
Name "Unbuffer"
Ports [1, 1]
Position [770, 527, 800, 583]
Orientation "left"
NamePlacement "alternate"
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType SubSystem
Name "channel1"
Ports [0, 2]
Position [375, 303, 470, 352]
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 [179, 416, 941, 791]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "DSP\nConstant"
Ports [0, 1]
Position [30, 54, 65, 86]
SourceBlock "dspsrcs4/DSP\nConstant"
SourceType "DSP Constant"
ShowPortLabels on
Value "1"
SampleMode "Discrete"
discreteOutput "Sample-based"
continuousOutput "Sample-based"
sampTime "64e-6"
framePeriod "6.4e-5"
additionalParams off
allowOverrides on
dataType "Inherit from 'Constant value'"
isSigned on
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
InterpretAs1D "-inf"
Ts "-inf"
FramebasedOutput "-inf"
}
Block {
BlockType Reference
Name "DSP\nConstant1"
Ports [0, 1]
Position [80, 89, 115, 121]
SourceBlock "dspsrcs4/DSP\nConstant"
SourceType "DSP Constant"
ShowPortLabels on
Value "0"
SampleMode "Discrete"
discreteOutput "Sample-based"
continuousOutput "Sample-based"
sampTime "64e-6"
framePeriod "6.4e-5"
additionalParams off
allowOverrides on
dataType "Inherit from 'Constant value'"
isSigned on
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
InterpretAs1D "-inf"
Ts "-inf"
FramebasedOutput "-inf"
}
Block {
BlockType Reference
Name "Multipath Rayleigh\nFading Channel"
Ports [1, 1]
Position [390, 68, 470, 112]
SourceBlock "commchan2/Multipath Rayleigh\nFading Channe"
"l"
SourceType "Multipath Rayleigh Fading Channel"
ShowPortLabels on
Fd "40"
simTs "64e-6"
delayVec "[0]"
gainVecdB "[-1.5]"
normGain on
Seed "73"
}
Block {
BlockType Reference
Name "Multipath Rayleigh\nFading Channel1"
Ports [1, 1]
Position [390, 143, 470, 187]
SourceBlock "commchan2/Multipath Rayleigh\nFading Channe"
"l"
SourceType "Multipath Rayleigh Fading Channel"
ShowPortLabels on
Fd "40"
simTs "64e-6"
delayVec "[0]"
gainVecdB "[-1.5]"
normGain on
Seed "5430"
}
Block {
BlockType Probe
Name "Probe1"
Ports [1, 1]
Position [510, 264, 665, 296]
ProbeWidth off
ProbeComplexSignal off
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [160, 53, 205, 122]
Input "Real and imag"
}
Block {
BlockType Terminator
Name "Terminator1"
Position [695, 270, 715, 290]
}
Block {
BlockType Outport
Name "Out1"
Position [640, 83, 670, 97]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [640, 158, 670, 172]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
Points [120, 0]
Branch {
Points [0, 75]
Branch {
Points [0, 115]
DstBlock "Probe1"
DstPort 1
}
Branch {
DstBlock "Multipath Rayleigh\nFading Channel1"
DstPort 1
}
}
Branch {
DstBlock "Multipath Rayleigh\nFading Channel"
DstPort 1
}
}
Line {
SrcBlock "DSP\nConstant"
SrcPort 1
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Line {
SrcBlock "DSP\nConstant1"
SrcPort 1
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
Line {
SrcBlock "Probe1"
SrcPort 1
DstBlock "Terminator1"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel1"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Line {
SrcBlock "Bernoulli Binary\nGenerator"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "BPSK\nModulator\nBaseband"
DstPort 1
}
Branch {
Points [0, 230; 310, 0; 0, 45]
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 [15, 0]
Branch {
DstBlock "Subsystem"
DstPort 1
}
Branch {
Points [0, -125]
DstBlock "Probe1"
DstPort 1
}
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [10, 0; 0, -50]
DstBlock "Multipath Rayleigh\nFading Channel"
DstPort 1
}
Line {
SrcBlock "Subsystem"
SrcPort 2
Points [10, 0; 0, 50]
DstBlock "Multipath Rayleigh\nFading Channel1"
DstPort 1
}
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
Points [15, 0; 0, 365]
DstBlock "Unbuffer"
DstPort 1
}
Line {
SrcBlock "Find Delay"
SrcPort 1
DstBlock "Display"
DstPort 1
}
Line {
SrcBlock "BPSK\nDemodulator\nBaseband"
SrcPort 1
Points [0, 0; -45, 0]
Branch {
DstBlock "Find Delay"
DstPort 2
}
Branch {
Points [0, -90]
DstBlock "Error Rate\nCalculation"
DstPort 2
}
}
Line {
SrcBlock "Unbuffer"
SrcPort 1
DstBlock "BPSK\nDemodulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "Error Rate\nCalculation"
SrcPort 1
DstBlock "Display1"
DstPort 1
}
Line {
Name "h2"
Labels [0, 0]
SrcBlock "channel1"
SrcPort 2
Points [240, 0; 0, -125]
DstBlock "Subsystem1"
DstPort 3
}
Line {
Name "h1"
Labels [0, 0]
SrcBlock "channel1"
SrcPort 1
Points [220, 0; 0, -125]
DstBlock "Subsystem1"
DstPort 2
}
Line {
SrcBlock "Probe1"
SrcPort 1
DstBlock "Terminator1"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel"
SrcPort 1
DstBlock "AWGN\nChannel1"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel1"
SrcPort 1
DstBlock "AWGN\nChannel2"
DstPort 1
}
Line {
SrcBlock "AWGN\nChannel1"
SrcPort 1
Points [20, 0; 0, 50]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "AWGN\nChannel2"
SrcPort 1
Points [20, 0; 0, -50]
DstBlock "Add"
DstPort 2
}
Annotation {
Name "the encountered problem is the\ntime scale of t"
"he pilot sequences"
Position [827, 319]
BackgroundColor "orange"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -