📄 stbctwotxonerx_scheme3.mdl
字号:
Points [0, 0; 70, 0]
Branch {
Points [0, 35]
DstBlock "Math\nFunction3"
DstPort 1
}
Branch {
DstBlock "Matrix\nConcatenation3"
DstPort 1
}
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel3"
SrcPort 1
Points [0, 0; 70, 0]
Branch {
Points [0, 30]
DstBlock "Math\nFunction4"
DstPort 1
}
Branch {
Points [150, 0]
DstBlock "Matrix\nConcatenation3"
DstPort 2
}
}
Line {
SrcBlock "Math\nFunction3"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Math\nFunction4"
SrcPort 1
DstBlock "Matrix\nConcatenation4"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [25, 0; 0, 135]
DstBlock "Matrix\nConcatenation4"
DstPort 2
}
Line {
SrcBlock "Matrix\nConcatenation3"
SrcPort 1
Points [10, 0; 0, 50]
DstBlock "Matrix\nConcatenation5"
DstPort 1
}
Line {
SrcBlock "Matrix\nConcatenation4"
SrcPort 1
Points [10, 0; 0, -45]
DstBlock "Matrix\nConcatenation5"
DstPort 2
}
Line {
SrcBlock "Matrix\nConcatenation5"
SrcPort 1
DstBlock "Pseudoinverse"
DstPort 1
}
Line {
SrcBlock "Pseudoinverse"
SrcPort 1
DstBlock "invH"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Frame Status\nConversion"
Ports [1, 1]
Position [605, 472, 655, 508]
SourceBlock "dspobslib/Frame Status\nConversion"
SourceType "Frame Status Conversion"
ShowPortLabels off
growRefPort off
outframe "Frame-based"
}
Block {
BlockType From
Name "From"
Position [135, 556, 175, 584]
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "r"
}
Block {
BlockType From
Name "From1"
Position [55, 311, 95, 339]
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "TxErr"
}
Block {
BlockType From
Name "From2"
Position [55, 361, 95, 389]
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "RxErr"
}
Block {
BlockType Gain
Name "Gain"
Position [225, 104, 265, 136]
Gain "1/sqrt(2)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [490, 80, 520, 110]
Gain "-1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Goto
Name "Goto"
Position [885, 125, 925, 155]
DialogController "Simulink.DDGSource"
GotoTag "r"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto1"
Position [210, 225, 250, 255]
DialogController "Simulink.DDGSource"
GotoTag "TxErr"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto2"
Position [800, 475, 840, 505]
DialogController "Simulink.DDGSource"
GotoTag "RxErr"
TagVisibility "local"
}
Block {
BlockType Math
Name "Math\nFunction1"
Ports [1, 1]
Position [545, 80, 570, 110]
Operator "conj"
}
Block {
BlockType Math
Name "Math\nFunction2"
Ports [1, 1]
Position [515, 200, 540, 230]
Operator "conj"
}
Block {
BlockType Math
Name "Math\nFunction3"
Ports [1, 1]
Position [335, 605, 360, 635]
NamePlacement "alternate"
Operator "conj"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation"
Ports [2, 1]
Position [600, 48, 670, 112]
SourceBlock "simulink/Math\nOperations/Matrix\nConcatenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation1"
Ports [2, 1]
Position [605, 169, 680, 231]
SourceBlock "simulink/Math\nOperations/Matrix\nConcatenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation2"
Ports [2, 1]
Position [410, 543, 475, 612]
SourceBlock "simulink/Math\nOperations/Matrix\nConcatenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Product
Name "Matrix Multiply"
Ports [2, 1]
Position [515, 471, 570, 509]
Multiplication "Matrix(*)"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Multiport\nSelector1"
Ports [1, 2]
Position [285, 98, 365, 142]
SourceBlock "dspindex/Multiport\nSelector"
SourceType "Multiport Selector"
rowsOrCols "Rows"
idxCellArray "{ 1,2 }"
idxErrMode "Clip Index"
}
Block {
BlockType Reference
Name "Multiport\nSelector2"
Ports [1, 2]
Position [210, 548, 290, 592]
NamePlacement "alternate"
SourceBlock "dspindex/Multiport\nSelector"
SourceType "Multiport Selector"
rowsOrCols "Rows"
idxCellArray "{ 1,2 }"
idxErrMode "Clip Index"
}
Block {
BlockType SubSystem
Name "Reciever"
Ports []
Position [125, 440, 848, 646]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Reciever"
Location [433, 403, 931, 703]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
}
}
Block {
BlockType ToWorkspace
Name "To Workspace "
Position [260, 367, 330, 393]
NamePlacement "alternate"
VariableName "binBER"
MaxDataPoints "1"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType SubSystem
Name "Transmittor"
Ports []
Position [25, 41, 702, 265]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Transmittor"
Location [433, 403, 931, 703]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "comp"
Ports []
Position [40, 279, 363, 415]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "comp"
Location [433, 403, 931, 703]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
}
}
Line {
SrcBlock "Error Rate\nCalculation"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Display"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "To Workspace "
DstPort 1
}
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 2
}
Line {
SrcBlock "Bernoulli Binary\nGenerator"
SrcPort 1
Points [5, 0; 5, 0]
Branch {
DstBlock "BPSK\nModulator\nBaseband2"
DstPort 1
}
Branch {
Points [-5, 0; 0, 120]
DstBlock "Goto1"
DstPort 1
}
}
Line {
SrcBlock "Multiport\nSelector1"
SrcPort 1
Points [25, 0; 0, -45; 80, 0]
Branch {
Points [0, 150]
DstBlock "Math\nFunction2"
DstPort 1
}
Branch {
DstBlock "Matrix\nConcatenation"
DstPort 1
}
}
Line {
SrcBlock "Multiport\nSelector1"
SrcPort 2
Points [25, 0; 0, 55; 60, 0]
Branch {
DstBlock "Matrix\nConcatenation1"
DstPort 1
}
Branch {
Points [0, -90]
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Math\nFunction1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction2"
SrcPort 1
DstBlock "Matrix\nConcatenation1"
DstPort 2
}
Line {
SrcBlock "Matrix Multiply"
SrcPort 1
DstBlock "Frame Status\nConversion"
DstPort 1
}
Line {
SrcBlock "Matrix\nConcatenation1"
SrcPort 1
Points [40, 0]
DstBlock "Channel"
DstPort 2
}
Line {
SrcBlock "BPSK\nModulator\nBaseband2"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Estimation"
SrcPort 1
DstBlock "Matrix Multiply"
DstPort 1
}
Line {
SrcBlock "Frame Status\nConversion"
SrcPort 1
DstBlock "BPSK\nDemodulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
Points [45, 0; 0, 25]
DstBlock "Channel"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Multiport\nSelector1"
DstPort 1
}
Line {
SrcBlock "Matrix\nConcatenation2"
SrcPort 1
Points [15, 0; 0, -80]
DstBlock "Matrix Multiply"
DstPort 2
}
Line {
SrcBlock "Math\nFunction3"
SrcPort 1
Points [30, 0]
DstBlock "Matrix\nConcatenation2"
DstPort 2
}
Line {
SrcBlock "From"
SrcPort 1
DstBlock "Multiport\nSelector2"
DstPort 1
}
Line {
SrcBlock "Multiport\nSelector2"
SrcPort 1
DstBlock "Matrix\nConcatenation2"
DstPort 1
}
Line {
SrcBlock "Multiport\nSelector2"
SrcPort 2
Points [15, 0; 0, 40]
DstBlock "Math\nFunction3"
DstPort 1
}
Line {
SrcBlock "Channel"
SrcPort 1
DstBlock "Goto"
DstPort 1
}
Line {
SrcBlock "From1"
SrcPort 1
Points [0, 15]
DstBlock "Error Rate\nCalculation"
DstPort 1
}
Line {
SrcBlock "From2"
SrcPort 1
Points [0, -10]
DstBlock "Error Rate\nCalculation"
DstPort 2
}
Line {
SrcBlock "BPSK\nDemodulator\nBaseband"
SrcPort 1
DstBlock "Goto2"
DstPort 1
}
Annotation {
Position [146, 79]
}
Annotation {
Position [128, 113]
}
Annotation {
Position [367, 49]
}
}
}
# Finite State Machines
#
# Stateflow Version 6.1 (R14SP1) dated Sep 7 2004, 18:52:26
#
#
Stateflow {
machine {
id 1
name "STBCtwoTxoneRx_scheme3"
created "08-Oct-2006 20:20:17"
isLibrary 0
firstTarget 2
sfVersion 61014000
}
target {
id 2
name "sfun"
description "Default Simulink S-Function Target."
machine 1
linkNode [1 0 0]
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -