📄 noncoherent2fsk.mdl
字号:
Block {
BlockType Inport
Name "In1"
Position [25, 48, 55, 62]
ForegroundColor "yellow"
BackgroundColor "black"
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [130, 56, 175, 89]
ForegroundColor "yellow"
BackgroundColor "black"
InputSameDT off
}
Block {
BlockType Outport
Name "Out1"
Position [205, 63, 235, 77]
ForegroundColor "yellow"
BackgroundColor "black"
}
Line {
SrcBlock "In1"
SrcPort 1
Points [20, 0]
Branch {
Points [35, 0]
DstBlock "Product3"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "Product3"
DstPort 2
}
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [5, 0; 0, -5]
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name " \n\n"
Ports [1, 1]
Position [555, 256, 595, 304]
TreatAsAtomicUnit off
RTWSystemCode "Inline"
MaskDisplay "disp(' ( ) 2')\n\n"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name " \n\n"
Location [73, 155, 971, 702]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "black"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 48, 55, 62]
ForegroundColor "yellow"
BackgroundColor "black"
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [130, 56, 175, 89]
ForegroundColor "yellow"
BackgroundColor "black"
InputSameDT off
}
Block {
BlockType Outport
Name "Out1"
Position [205, 63, 235, 77]
ForegroundColor "yellow"
BackgroundColor "black"
}
Line {
SrcBlock "In1"
SrcPort 1
Points [20, 0]
Branch {
Points [35, 0]
DstBlock "Product3"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "Product3"
DstPort 2
}
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [5, 0; 0, -5]
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Reference
Name " \n"
Ports [1, 1]
Position [455, 182, 520, 238]
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Butterworth"
filttype "Lowpass"
N "6"
Wlo "2*pi*100"
Whi "80"
Rp "2"
Rs "40"
}
Block {
BlockType SubSystem
Name " 1"
Ports [1, 1]
Position [555, 55, 595, 105]
ShowName off
TreatAsAtomicUnit off
RTWSystemCode "Inline"
MaskDisplay "disp(' ( ) 2')\n\n"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name " 1"
Location [73, 155, 971, 702]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "black"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 48, 55, 62]
ForegroundColor "yellow"
BackgroundColor "black"
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [130, 56, 175, 89]
ForegroundColor "yellow"
BackgroundColor "black"
InputSameDT off
}
Block {
BlockType Outport
Name "Out1"
Position [205, 63, 235, 77]
ForegroundColor "yellow"
BackgroundColor "black"
}
Line {
SrcBlock "In1"
SrcPort 1
Points [20, 0]
Branch {
Points [35, 0]
DstBlock "Product3"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "Product3"
DstPort 2
}
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [5, 0; 0, -5]
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Analog\nFilter Design"
Ports [1, 1]
Position [455, 52, 520, 108]
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Butterworth"
filttype "Lowpass"
N "6"
Wlo "2*pi*100"
Whi "80"
Rp "2"
Rs "40"
}
Block {
BlockType Reference
Name "Analog\nFilter Design2"
Ports [1, 1]
Position [455, 252, 520, 308]
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Butterworth"
filttype "Lowpass"
N "6"
Wlo "2*pi*100"
Whi "80"
Rp "2"
Rs "40"
}
Block {
BlockType Reference
Name "Analog\nFilter Design3"
Ports [1, 1]
Position [460, 392, 525, 448]
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Butterworth"
filttype "Lowpass"
N "6"
Wlo "2*pi*100"
Whi "80"
Rp "2"
Rs "40"
}
Block {
BlockType Reference
Name "Analog\nFilter Design4"
Ports [1, 1]
Position [195, 198, 230, 232]
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Butterworth"
filttype "Bandpass"
N "6"
Wlo "2*pi*900"
Whi "2*pi*1950"
Rp "2"
Rs "40"
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag1"
Ports [1, 2]
Position [345, 332, 375, 363]
Orientation "left"
Output "Real and imag"
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag2"
Ports [1, 2]
Position [340, 132, 370, 163]
Orientation "left"
Output "Real and imag"
}
Block {
BlockType Reference
Name "Gaussian Noise\nGenerator"
Ports [0, 1]
Position [20, 288, 100, 332]
FontName "Arial"
SourceBlock "commnoisgen2/Gaussian Noise\nGenerator"
SourceType "Gaussian Noise Generator"
m "0"
d "0.5"
s "41"
Ts "0.0001"
frameBased off
sampPerFrame "1"
orient off
}
Block {
BlockType SubSystem
Name "Generator 2FSK"
Ports [0, 2]
Position [30, 200, 70, 260]
TreatAsAtomicUnit off
MaskDisplay "port_label('output', 1, '2FSK')\nport_label('ou"
"tput', 2, 'data')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Generator 2FSK"
Location [73, 155, 971, 702]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "Bernoulli Binary\nGenerator1"
Ports [0, 1]
Position [110, 163, 190, 207]
FontName "Arial"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
P "0.5"
seed "61"
Ts "0.01"
frameBased off
sampPerFrame "1"
orient off
}
Block {
BlockType Product
Name "Product5"
Ports [2, 1]
Position [400, 156, 445, 189]
InputSameDT off
}
Block {
BlockType Product
Name "Product6"
Ports [2, 1]
Position [400, 226, 445, 259]
InputSameDT off
}
Block {
BlockType Relay
Name "Relay"
Position [325, 170, 355, 200]
}
Block {
BlockType Relay
Name "Relay1"
Position [325, 225, 355, 255]
OnOutputValue "0"
OffOutputValue "1"
}
Block {
BlockType Reference
Name "Sine Wave2"
Ports [0, 1]
Position [310, 283, 355, 327]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "1"
Frequency "1000"
Phase "0"
SampleMode "Discrete"
OutComplex "Real"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/10000"
SamplesPerFrame "1"
additionalParams off
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "14"
ResetState "Restart at time zero"
}
Block {
BlockType Reference
Name "Sine Wave3"
Ports [0, 1]
Position [310, 93, 355, 137]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "1"
Frequency "1850"
Phase "0"
SampleMode "Discrete"
OutComplex "Real"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/10000"
SamplesPerFrame "1"
additionalParams off
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "14"
ResetState "Restart at time zero"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [490, 195, 510, 215]
ShowName off
IconShape "round"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "Out1"
Position [565, 198, 595, 212]
}
Block {
BlockType Outport
Name "Out2"
Position [565, 238, 595, 252]
Port "2"
}
Line {
SrcBlock "Bernoulli Binary\nGenerator1"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [65, 0]
Branch {
DstBlock "Relay"
DstPort 1
}
Branch {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -