📄 lhw_vblast_qr.mdl
字号:
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
Block {
BlockType Math
Operator "exp"
OutputSignalType "auto"
SampleTime "-1"
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Port "1"
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Product
Inputs "2"
Multiplication "Element-wise(.*)"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Zero"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType RateTransition
Integrity on
Deterministic on
X0 "0"
OutPortSampleTime "-1"
}
Block {
BlockType Reference
}
Block {
BlockType Rounding
Operator "floor"
SampleTime "-1"
}
Block {
BlockType "S-Function"
FunctionName "system"
SFunctionModules "''"
PortCounts "[]"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType ToWorkspace
VariableName "simulink_output"
MaxDataPoints "1000"
Decimation "1"
SampleTime "0"
FixptAsFi off
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "lhw_VBLAST_QR"
Location [2, 74, 1014, 724]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "AWGN\nChannel"
Ports [1, 1]
Position [395, 131, 450, 159]
FontSize 10
SourceBlock "commchan2/AWGN\nChannel"
SourceType "AWGN Channel"
ShowPortLabels on
seed "[4549 19309 8243 71849]"
noiseMode "Signal to noise ratio (SNR)"
EbNodB "snr"
EsNodB "10"
SNRdB "snr"
bitsPerSym "2"
Ps "1"
Tsym "1e-5"
variance "1"
}
Block {
BlockType Reference
Name "BPSK\nModulator\nBaseband"
Ports [1, 1]
Position [190, 132, 245, 168]
FontSize 10
SourceBlock "commdigbbndpm2/BPSK\nModulator\nBaseband"
SourceType "BPSK Modulator Baseband"
ShowPortLabels on
Ph "0"
numSamp "1"
}
Block {
BlockType SubSystem
Name "Channel Coefficients"
Ports [0, 1]
Position [185, 62, 240, 98]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "input sigma for rayleigh|input sample time for "
"rayleigh|input sample time for output"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskToolTipString "on,on,on"
MaskVarAliasString ",,"
MaskVariables "my_sigma=@1;my_sample_time=@2;output_sample_tim"
"e=@3;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "sqrt(1/8)|4e-5|4e-5"
MaskTabNameString ",,"
System {
Name "Channel Coefficients"
Location [2, 74, 998, 724]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType RateTransition
Name "Copy"
Position [80, 16, 110, 44]
FontSize 10
Integrity off
OutPortSampleTime "output_sample_time"
}
Block {
BlockType RateTransition
Name "Copy1"
Position [80, 56, 110, 84]
FontSize 10
Integrity off
OutPortSampleTime "output_sample_time"
}
Block {
BlockType RateTransition
Name "Copy10"
Position [80, 461, 110, 489]
FontSize 10
Integrity off
OutPortSampleTime "output_sample_time"
}
Block {
BlockType RateTransition
Name "Copy11"
Position [80, 501, 110, 529]
FontSize 10
Integrity off
OutPortSampleTime "output_sample_time"
}
Block {
BlockType RateTransition
Name "Copy12"
Position [80, 551, 110, 579]
FontSize 10
Integrity off
OutPortSampleTime "output_sample_time"
}
Block {
BlockType RateTransition
Name "Copy13"
Position [80, 591, 110, 619]
FontSize 10
Integrity off
OutPortSampleTime "output_sample_time"
}
Block {
BlockType RateTransition
Name "Copy14"
Position [80, 641, 110, 669]
FontSize 10
Integrity off
OutPortSampleTime "output_sample_time"
}
Block {
BlockType RateTransition
Name "Copy15"
Position [80, 681, 110, 709]
FontSize 10
Integrity off
OutPortSampleTime "output_sample_time"
}
Block {
BlockType RateTransition
Name "Copy2"
Position [80, 106, 110, 134]
FontSize 10
Integrity off
OutPortSampleTime "output_sample_time"
}
Block {
BlockType RateTransition
Name "Copy3"
Position [80, 146, 110, 174]
FontSize 10
Integrity off
OutPortSampleTime "output_sample_time"
}
Block {
BlockType RateTransition
Name "Copy4"
Position [80, 191, 110, 219]
FontSize 10
Integrity off
OutPortSampleTime "output_sample_time"
}
Block {
BlockType RateTransition
Name "Copy5"
Position [80, 231, 110, 259]
FontSize 10
Integrity off
OutPortSampleTime "output_sample_time"
}
Block {
BlockType RateTransition
Name "Copy6"
Position [80, 281, 110, 309]
FontSize 10
Integrity off
OutPortSampleTime "output_sample_time"
}
Block {
BlockType RateTransition
Name "Copy7"
Position [80, 321, 110, 349]
FontSize 10
Integrity off
OutPortSampleTime "output_sample_time"
}
Block {
BlockType RateTransition
Name "Copy8"
Position [80, 371, 110, 399]
FontSize 10
Integrity off
OutPortSampleTime "output_sample_time"
}
Block {
BlockType RateTransition
Name "Copy9"
Position [80, 411, 110, 439]
FontSize 10
Integrity off
OutPortSampleTime "output_sample_time"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation1"
Ports [4, 1]
Position [195, 56, 245, 134]
FontSize 10
SourceBlock "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
SourceType "Matrix Concatenation"
numInports "4"
catMethod "Horizontal"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation2"
Ports [4, 1]
Position [195, 231, 245, 309]
FontSize 10
SourceBlock "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
SourceType "Matrix Concatenation"
numInports "4"
catMethod "Horizontal"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation3"
Ports [4, 1]
Position [420, 326, 470, 404]
FontSize 10
SourceBlock "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
SourceType "Matrix Concatenation"
numInports "4"
catMethod "Vertical"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation4"
Ports [4, 1]
Position [195, 411, 245, 489]
FontSize 10
SourceBlock "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
SourceType "Matrix Concatenation"
numInports "4"
catMethod "Horizontal"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation5"
Ports [4, 1]
Position [195, 591, 245, 669]
FontSize 10
SourceBlock "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
SourceType "Matrix Concatenation"
numInports "4"
catMethod "Horizontal"
}
Block {
BlockType SubSystem
Name "h1"
Ports [0, 1]
Position [25, 19, 45, 41]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "h1"
Location [189, 286, 669, 523]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "Complex\nExponential"
Ports [1, 1]
Position [150, 107, 200, 143]
SourceBlock "dspmathops/Complex\nExponential"
SourceType "Complex Exponential"
ShowPortLabels "on"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [270, 62, 300, 93]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Rayleigh Noise\nGenerator"
Ports [0, 1]
Position [125, 28, 205, 72]
FontSize 10
SourceBlock "commnoisgen2/Rayleigh Noise\nGenerator"
SourceType "Rayleigh Noise Generator"
ShowPortLabels "on"
alpha "my_sigma"
seed "15761"
Ts "my_sample_time"
frameBased "off"
sampPerFrame "1"
orient "off"
}
Block {
BlockType Reference
Name "Uniform Noise\nGenerator"
Ports [0, 1]
Position [25, 103, 105, 147]
FontSize 10
SourceBlock "commnoisgen2/Uniform Noise\nGenerator"
SourceType "Uniform Noise Generator"
ShowPortLabels "on"
low "0"
up "2*pi"
seed "23813"
Ts "my_sample_time"
frameBased "off"
sampPerFrame "1"
orient "off"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -