📄 singleuserpnconv.mdl
字号:
BlockType SubSystem
Name "background2"
Ports []
Position [854, 382, 1414, 576]
ForegroundColor "darkGreen"
BackgroundColor "blue"
ShowName off
FontSize 9
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "background2"
Location [209, 325, 575, 532]
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 "background3"
Ports []
Position [856, 677, 1420, 846]
BackgroundColor "gray"
ShowName off
FontSize 9
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "background3"
Location [209, 325, 575, 532]
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 "background5"
Ports []
Position [240, 467, 379, 676]
BackgroundColor "yellow"
ShowName off
FontSize 9
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "background5"
Location [209, 325, 575, 532]
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 SignalViewerScope
Name "Scope1"
Ports []
Position [20, 15, 60, 55]
IOType "viewer"
Location [188, 365, 512, 604]
Open off
NumInputPorts "5"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
axes5 "%<SignalLabel>"
}
ShowDataMarkers off
ShowLegends off
YMin "-5~-5~-5~-5~-5"
YMax "5~5~5~5~5"
DataFormat "Array"
MaxDataPoints "7500"
RefreshTime 0.035000
}
Line {
SrcBlock "BER Calculator"
SrcPort 1
Points [-10, 0]
DstBlock "BER Display"
DstPort 1
}
Line {
SrcBlock "Data Source"
SrcPort 1
DstBlock "Integer to Bit\nConverter"
DstPort 1
}
Line {
SrcBlock "QPSK\nModulator\nBaseband"
SrcPort 1
Points [20, 0]
Branch {
Points [0, -90]
DstBlock "Discrete-Time\nScatter Plot\nScope"
DstPort 1
}
Branch {
Points [20, 0]
Branch {
Points [0, 100]
DstBlock "Complex to\nReal-Imag2"
DstPort 1
}
Branch {
DstBlock "Product2"
DstPort 1
}
}
}
Line {
SrcBlock "From"
SrcPort 1
Points [5, 0; 0, 25]
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "From2"
SrcPort 1
Points [10, 0; 0, -25]
DstBlock "Scope"
DstPort 3
}
Line {
SrcBlock "From3"
SrcPort 1
Points [25, 0]
DstBlock "Scope"
DstPort 4
}
Line {
SrcBlock "QPSK\nDemodulator\nBaseband"
SrcPort 1
DstBlock "Viterbi Decoder"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag1"
SrcPort 1
DstBlock "Goto2"
DstPort 1
}
Line {
SrcBlock "From1"
SrcPort 1
DstBlock "Scope"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [-65, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "Complex to\nReal-Imag4"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Integrate\nand Dump"
DstPort 1
}
Line {
SrcBlock "Integrate\nand Dump"
SrcPort 1
Points [-20, 0]
Branch {
DstBlock "QPSK\nDemodulator\nBaseband"
DstPort 1
}
Branch {
Points [0, 135]
DstBlock "Discrete-Time\nScatter Plot\nScope1"
DstPort 1
}
}
Line {
SrcBlock "Complex to\nReal-Imag4"
SrcPort 1
Points [0, 40]
DstBlock "Goto3"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag3"
SrcPort 1
Points [0, 40]
DstBlock "Goto1"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag2"
SrcPort 1
Points [0, 25]
DstBlock "Goto"
DstPort 1
}
Line {
SrcBlock "Hadamard\nCode Generator"
SrcPort 1
Points [20, 0; 0, -5]
Branch {
Points [0, -50]
DstBlock "Product2"
DstPort 2
}
Branch {
Points [0, 165; 135, 0]
DstBlock "Product1"
DstPort 1
}
}
Line {
SrcBlock "PN Sequence\nGenerator"
SrcPort 1
Points [30, 0]
Branch {
Points [0, -45]
DstBlock "Product"
DstPort 2
}
Branch {
Points [140, 0; 0, 245]
DstBlock "Product3"
DstPort 1
}
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [15, 0]
Branch {
Points [135, 0]
DstBlock "AWGN\nChannel"
DstPort 1
}
Branch {
DstBlock "Complex to\nReal-Imag3"
DstPort 1
}
}
Line {
SrcBlock "AWGN\nChannel"
SrcPort 1
Points [0, 90; -65, 0]
Branch {
DstBlock "Product3"
DstPort 2
}
Branch {
DstBlock "Complex to\nReal-Imag1"
DstPort 1
}
}
Line {
SrcBlock "Product3"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Integer to Bit\nConverter"
SrcPort 1
DstBlock "Convolutional\nEncoder"
DstPort 1
}
Line {
SrcBlock "Convolutional\nEncoder"
SrcPort 1
DstBlock "QPSK\nModulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "Viterbi Decoder"
SrcPort 1
Points [-190, 0; 0, -220]
DstBlock "BER Calculator"
DstPort 2
}
Annotation {
Name "0 et 1"
Position [809, 433]
}
Annotation {
Name " Calcul du taux d'erreur"
Position [293, 453]
FontSize 14
}
Annotation {
Name "Recepteur"
Position [894, 658]
FontSize 14
}
Annotation {
Name "Emetteur"
Position [900, 375]
FontSize 14
}
Annotation {
Position [1633, 405]
}
Annotation {
Position [1091, 574]
}
Annotation {
Position [1016, 535]
}
}
}
MatData {
NumRecords 2
DataRecord {
Tag DataTag1
Data " %)30 . < 8 ( 0 % \" $ ! 0 . 0 8 ( ! % \" $ . 0 0 #@ %9I=&5R8FE$96-O9&5R "
}
DataRecord {
Tag DataTag0
Data " %)30 . < 8 ( 0 % \" $ ! 0 . 0 8 ( ! % \" $ / 0 0 #P %%04TM$96UO9'5L871O<@ "
}
}
# Finite State Machines
#
# Stateflow Version 6.7 (R2007b) dated Aug 7 2007, 16:48:14
#
#
Stateflow {
machine {
id 1
name "singleuserPNConv"
created "06-Apr-2009 20:25:55"
isLibrary 0
firstTarget 2
sfVersion 67014000.000001
}
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 + -