📄 rayleighflatfading_psk_l2.mdl
字号:
MaxDataPoints "1"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [605, 575, 665, 605]
VariableName "SER"
MaxDataPoints "1"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType SubSystem
Name "zzzzz"
Ports []
Position [63, 339, 587, 440]
BackgroundColor "lightBlue"
DropShadow on
ShowName off
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "zzzzz"
Location [433, 403, 931, 703]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "zzzzz1"
Ports []
Position [63, 483, 590, 595]
BackgroundColor "[0.501961, 1.000000, 0.501961]"
DropShadow on
ShowName off
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "zzzzz1"
Location [433, 403, 931, 703]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "zzzzz2"
Ports []
Position [15, 138, 264, 282]
BackgroundColor "[0.925490, 0.670588, 0.827451]"
DropShadow on
ShowName off
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "zzzzz2"
Location [433, 403, 931, 703]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "zzzzz3"
Ports []
Position [551, 159, 922, 295]
BackgroundColor "[0.643137, 0.670588, 0.827451]"
DropShadow on
ShowName off
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "zzzzz3"
Location [433, 403, 931, 703]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
}
}
Line {
SrcBlock "Bernoulli Binary\nGenerator"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 50]
DstBlock "Goto"
DstPort 1
}
Branch {
DstBlock "M-PSK\nModulator\nBaseband"
DstPort 1
}
}
Line {
SrcBlock "M-PSK\nModulator\nBaseband"
SrcPort 1
DstBlock "2-Antenna\nChannel"
DstPort 1
}
Line {
SrcBlock "M-PSK\nDemodulator\nBaseband"
SrcPort 1
DstBlock "Data Type\nConversion3"
DstPort 1
}
Line {
SrcBlock "Error Rate\nCalculation"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Display"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "To Workspace"
DstPort 1
}
}
Line {
SrcBlock "From"
SrcPort 1
DstBlock "Error Rate\nCalculation"
DstPort 1
}
Line {
SrcBlock "From1"
SrcPort 1
DstBlock "Error Rate\nCalculation"
DstPort 2
}
Line {
SrcBlock "From2"
SrcPort 1
DstBlock "Bit to Integer\nConverter1"
DstPort 1
}
Line {
SrcBlock "From3"
SrcPort 1
DstBlock "Bit to Integer\nConverter"
DstPort 1
}
Line {
SrcBlock "Error Rate\nCalculation1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Display1"
DstPort 1
}
Branch {
Points [0, 55]
DstBlock "To Workspace1"
DstPort 1
}
}
Line {
SrcBlock "Bit to Integer\nConverter"
SrcPort 1
Points [10, 0; 0, 10]
DstBlock "Error Rate\nCalculation1"
DstPort 1
}
Line {
SrcBlock "Bit to Integer\nConverter1"
SrcPort 1
Points [10, 0; 0, -10]
DstBlock "Error Rate\nCalculation1"
DstPort 2
}
Line {
SrcBlock "Data Type\nConversion3"
SrcPort 1
DstBlock "Goto1"
DstPort 1
}
Line {
SrcBlock "Add"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "M-PSK\nDemodulator\nBaseband"
DstPort 1
}
Branch {
Points [0, -125]
DstBlock "Double-click\nto Open1"
DstPort 1
}
}
Line {
SrcBlock "2-Antenna\nChannel"
SrcPort 1
DstBlock "Divide1"
DstPort 1
}
Line {
SrcBlock "2-Antenna\nChannel"
SrcPort 2
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Divide1"
DstPort 2
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
DstBlock "Divide2"
DstPort 2
}
Line {
SrcBlock "2-Antenna\nChannel"
SrcPort 3
DstBlock "Divide2"
DstPort 1
}
Line {
SrcBlock "2-Antenna\nChannel"
SrcPort 4
DstBlock "Math\nFunction1"
DstPort 1
}
Line {
SrcBlock "Divide1"
SrcPort 1
Points [65, 0; 0, 25]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Divide2"
SrcPort 1
Points [65, 0; 0, -10]
DstBlock "Add"
DstPort 2
}
Annotation {
Name "Compute Symbol Error Rate"
Position [188, 463]
BackgroundColor "[0.501961, 1.000000, 0.501961]"
DropShadow on
FontName "Arial"
FontSize 18
FontWeight "bold"
}
Annotation {
Name "Compute Bit Error Rate"
Position [168, 318]
BackgroundColor "lightBlue"
DropShadow on
FontName "Arial"
FontSize 18
FontWeight "bold"
}
Annotation {
Name "Receiver"
Position [598, 138]
BackgroundColor "[0.643137, 0.670588, 0.823529]"
DropShadow on
FontName "Arial"
FontSize 18
FontWeight "bold"
}
Annotation {
Name "Transmitter"
Position [73, 118]
BackgroundColor "[0.925490, 0.674510, 0.835294]"
DropShadow on
FontName "Arial"
FontSize 18
FontWeight "bold"
}
Annotation {
Name "M-PSK Transmission over Rayleigh\nFlat Fading Channel - Dual Diversity"
Position [12, 29]
HorizontalAlignment "left"
BackgroundColor "darkGreen"
DropShadow on
FontName "Arial"
FontSize 18
FontWeight "bold"
}
Annotation {
Name "Bit Error Rate"
Position [600, 373]
HorizontalAlignment "left"
}
Annotation {
Name "Num Bit Errors"
Position [597, 395]
HorizontalAlignment "left"
}
Annotation {
Name "Num Bits xmitted"
Position [599, 415]
HorizontalAlignment "left"
}
Annotation {
Name "Sym Error Rate"
Position [601, 513]
HorizontalAlignment "left"
}
Annotation {
Name "Num Sym Errors"
Position [603, 535]
HorizontalAlignment "left"
}
Annotation {
Name "Num Syms xmitted"
Position [600, 555]
HorizontalAlignment "left"
}
Annotation {
Name "Perfect Channel State Information (CSI) is assumed at the receiver."
Position [13, 68]
HorizontalAlignment "left"
}
}
}
MatData {
NumRecords 5
DataRecord {
Tag DataTag4
Data " %)30 . @ 8 ( 0 % \" $ ! 0 . 4 8 ( ! "
" % \" $ - 0 $ &@ $T 4 !3 $L 30!O &0 =0!L &$ = !O '( "
}
DataRecord {
Tag DataTag3
Data " %)30 . @ 8 ( 0 % \" $ ! 0 . 4 8 ( ! "
" % \" $ / 0 $ '@ $T 4 !3 $L 1 !E &T ;P!D '4 ; !A '0 ;P!R "
}
DataRecord {
Tag DataTag2
Data " %)30 . B 8 ( 0 % \" $ ! 0 . 6 8 ( ! "
" % \" $ 2 0 $ ) $( 90!R &X ;P!U &P ; !I $( :0!N &$ <@!Y $< 90!N "
}
DataRecord {
Tag DataTag1
Data " %)30 . : 8 ( 0 % \" $ ! 0 . . 8 ( ! "
" % \" $ $ 0 $ \" $T 90!A &X "
}
DataRecord {
Tag DataTag0
Data " %)30 . < 8 ( 0 % \" $ ! 0 . 0 8 ( ! "
" % \" $ ( 0 $ $ %8 80!R &D 80!N &, 90 "
}
}
Stateflow {
machine {
id 1
name "tp107f7fc9_551f_48fb_b103_ef21e7277d48"
created "06-Aug-2008 11:12:56"
isLibrary 0
firstTarget 2
sfVersion 71014000.000003
}
target {
id 2
name "sfun"
codeFlags " debug=1 overflow=1 echo=1"
machine 1
linkNode [1 0 0]
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -