bervsserdsp.mdl
来自「Its a simulink model to comare BER and S」· MDL 代码 · 共 1,496 行 · 第 1/5 页
MDL
1,496 行
PeakPow "1"
Ph "0"
Dec "Binary"
Mapping "[0:15]"
OutType "Integer"
DecType "Hard decision"
VarSource "Dialog"
Variance "1"
outDtype1 "Inherit via internal rule"
outDtype2 "Inherit via internal rule"
derotateFactorDTMode "Same word length as input"
derotateFactorWordLen "16"
denormFactorDTMode "Same word length as input"
denormFactorWordLen "16"
prodOutDTMode "Inherit via internal rule"
prodOutWordLen "32"
prodOutRoundingMode "Floor"
prodOutOverflowMode "Wrap"
sumDTMode "Inherit via internal rule"
sumWordLen "32"
}
Block {
BlockType Reference
Name "Rectangular QAM\nModulator\nBaseband"
Ports [1, 1]
Position [350, 125, 420, 165]
SourceBlock "commdigbbndam3/Rectangular QAM\nModulator\nBase"
"band"
SourceType "Rectangular QAM Modulator Baseband"
M "M"
InType "Integer"
Enc "Binary"
Mapping "[0:15]"
PowType "Min. distance between symbols"
MinDist "2"
AvgPow "1"
PeakPow "1"
Ph "0"
outDtype "double"
outWordLen "16"
outUDDataType "sfix(16)"
outFracLenMode "Best precision"
outFracLen "15"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [325, 49, 355, 81]
Floating off
Location [1, 52, 1025, 737]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [650, 44, 680, 76]
Floating off
Location [1, 52, 1025, 737]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Display
Name "Symbol Error Details"
Ports [1]
Position [270, 326, 365, 394]
Orientation "left"
Decimation "1"
Lockdown off
}
Line {
SrcBlock "Random Integer\nGenerator1"
SrcPort 1
Points [40, 0]
Branch {
Points [0, 350; 415, 0; 0, 30]
DstBlock "Error Rate Calculation2"
DstPort 1
}
Branch {
DstBlock "Bit to Integer\nConverter"
DstPort 1
}
}
Line {
SrcBlock "Rectangular QAM\nModulator\nBaseband"
SrcPort 1
Points [40, 0]
Branch {
DstBlock "Rectangular QAM\nDemodulator\nBaseband"
DstPort 1
}
Branch {
Points [0, 100]
DstBlock "Discrete-Time\nScatter Plot\nScope"
DstPort 1
}
}
Line {
SrcBlock "Rectangular QAM\nDemodulator\nBaseband"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 140]
Branch {
Points [0, 85]
DstBlock "Error Rate Calculation1"
DstPort 2
}
Branch {
DstBlock "LED"
DstPort 1
}
}
Branch {
Points [0, 0]
Branch {
DstBlock "Integer to Bit\nConverter"
DstPort 1
}
Branch {
Points [0, -85]
DstBlock "Scope1"
DstPort 1
}
}
}
Line {
SrcBlock "Error Rate Calculation2"
SrcPort 1
DstBlock "Bit Error Details"
DstPort 1
}
Line {
SrcBlock "Error Rate Calculation1"
SrcPort 1
DstBlock "Symbol Error Details"
DstPort 1
}
Line {
SrcBlock "Integer to Bit\nConverter"
SrcPort 1
Points [20, 0; 0, 405]
DstBlock "Error Rate Calculation2"
DstPort 2
}
Line {
SrcBlock "Bit to Integer\nConverter"
SrcPort 1
Points [30, 0]
Branch {
Points [0, 160; 230, 0]
DstBlock "Error Rate Calculation1"
DstPort 1
}
Branch {
DstBlock "Rectangular QAM\nModulator\nBaseband"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "Scope"
DstPort 1
}
}
}
}
MatData {
NumRecords 3
DataRecord {
Tag DataTag2
Data " %)30 . < 8 ( 0 % "
"\" $ ! 0 . 0 8 ( ! % \" $ "
"/ 0 0 #P %)104U$96UO9'5L871O<@ "
}
DataRecord {
Tag DataTag1
Data " %)30 . . 8 ( ! % "
"\" $ ( 0 0 \" '!R;V9I;&5R"
}
DataRecord {
Tag DataTag0
Data " %)30 . '0 8 ( @ % "
"\" $ ! 0 % 0 $0 $ #_ 8VAI<$EN9F\\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@ % \" "
" $ ! 0 ) \" / _#@ / # & \" ( "
" !0 @ ! 0 $ !0 $ ! ! @ &AE87 !I"
"<W)E;6]V86)L90 :7-C;VYT96YT<V9I>&5D &YA;64 !A9&1R "
" <VEZ90 &-O;G1E;G1S !S<&%C90 #@ '"
" ! & \" ( !0 @ ! 0 $ !0 $ P ! , "
" &-R96%T94AE87 &AE87!3:7IE &1E9FEN94QA8F5L &AE87!,86)E; X X "
" !@ @ & 4 ( 0 $ ! D ( ."
" . 8 ( !@ % \" $ ! 0 ) \" "
" '! #@ #@ & \" 8 !0 @ ! 0 $ \"0"
" @ X ! !@ @ $ 4 ( 0 P ! "
" ! , <V5G;65N=%]N86UE X X !@ @ & 4 ("
" 0 $ ! D ( . . 8 ( !@ "
" % \" $ ! 0 ) \" #@ # & \" "
" 0 !0 @ ! ! $ $ $ $E204T. . 8 ( "
"!@ % \" $ ! 0 ) \" #@ #@ "
"& \" 8 !0 @ ! 0 $ \"0 @ 000"
"X ! !@ @ $ 4 ( 0 L ! ! + 0V]"
"D92 F($1A=&$ X X !@ @ $ 4 ( 0 @ ! "
" ! ( 26YT97)N86P. . 8 ( !@ % \" $ !"
" 0 ) \" / _#@ .@! & \" ( !0 @"
" ! 0 $ !0 $ @ ! $ &QA8F5L ;W!T:6]N<P . , "
" 8 ( ! % \" $ \" 0 0 ( 3#( X !@ 0 "
" !@ @ ! 4 ( 0 4 ! X P !@ @ $"
" 4 ( 0 0 ! ! ! P(&MB#@ #@ & \" 0 "
" !0 @ ! !0 $ $ 4 Q-B!K8@ X X !@ "
" @ $ 4 ( 0 4 ! ! % ,S(@:V( . . "
" 8 ( ! % \" $ % 0 0 !0 #0X(&MB "
" #@ #@ & \" 0 !0 @ ! !0 $ $ 4 "
" V-\"!K8@ X X !@ @ & 4 ( 0 $ ! "
"D ( *D . 8 , 8 ( 0 % \" $ - 0"
" . . 8 ( ! % \" $ % 0 0 "
" !0 \"YT97AT #@ #@ & \" 0 !0 @ ! !P $ "
" $ < N<W=I=&-H X P !@ @ $ 4 ( 0 "
"0 ! ! ! N8G-S#@ # & \" 0 !0 @ ! ! "
" $ $ $ \"YF87(. . 8 ( ! % \" $ & "
" 0 0 !@ \"YC:6YI= #@ #@ & \" 0 !0 @ "
" ! !@ $ $ 8 N<&EN:70 X X !@ @ $ "
" 4 ( 0 8 ! ! & +F-O;G-T . . 8 ( ! "
" % \" $ % 0 0 !0 \"YD871A #@ # & "
" \" 0 !0 @ ! ! $ $ $ \"YC:6\\. . 8"
" ( ! % \" $ ' 0 0 !P \"YS>7-M96T #@"
" #@ & \" 0 !0 @ ! !@ $ $ 8 N<W"
"1A8VL X ! !@ @ $ 4 ( 0 H ! ! "
"* +G)T9'A?9&%T80 X ! !@ @ $ 4 ( 0 H "
" ! ! * +G)T9'A?=&5X= X H\"@ !@ @ ! "
" 4 ( 0 \"@ ! X X !@ @ $ 4 ( "
" 0 4 ! ! % 0S8R,#$ . . 8 ( ! % "
" \" $ % 0 0 !0 $,V,C R #@ #@ & \" 0 "
" !0 @ ! !0 $ $ 4 !#-C(P,P X X !@ "
" @ $ 4 ( 0 4 ! ! % 0S8R,#0 . . "
" 8 ( ! % \" $ % 0 0 !0 $,V,C U "
" #@ #@ & \" 0 !0 @ ! !0 $ $ 4 "
"!#-C<P,0 X X !@ @ $ 4 ( 0 4 ! ! "
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?