?? zpcf.mdl
字號(hào):
Denominator "[1 0 ]"
SampleTime "0.01"
}
Block {
BlockType Fcn
Name "Fcn"
Position [90, 27, 135, 53]
Expr "(u==1)*(pi/4)+(u==-1)*(3*pi/4)"
}
Block {
BlockType Mux
Name "Mux4"
Ports [3, 1]
Position [245, 39, 250, 91]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [165, 31, 210, 64]
}
Block {
BlockType "S-Function"
Name "miao-3"
Ports [1, 1]
Position [270, 50, 315, 80]
FunctionName "UV"
}
Block {
BlockType Outport
Name "Uk"
Position [370, 33, 400, 47]
}
Block {
BlockType Outport
Name "Vk"
Position [370, 58, 400, 72]
Port "2"
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "miao-3"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Mux4"
SrcPort 1
DstBlock "miao-3"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 3
Points [0, 20]
DstBlock "Discrete\nTransfer Fcn1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 1
DstBlock "Uk"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Mux4"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
DstBlock "Vk"
DstPort 1
}
Line {
SrcBlock "Discrete\nTransfer Fcn"
SrcPort 1
Points [-5, 0]
DstBlock "Mux4"
DstPort 2
}
Line {
SrcBlock "Discrete\nTransfer Fcn1"
SrcPort 1
DstBlock "Discrete\nTransfer Fcn"
DstPort 1
}
Line {
SrcBlock "SI"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "SQ"
SrcPort 1
Points [85, 0]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "INP"
SrcPort 1
Points [0, -30]
DstBlock "Mux4"
DstPort 3
}
}
}
Block {
BlockType SubSystem
Name "串并變換"
Ports [1, 2]
Position [145, 156, 170, 209]
TreatAsAtomicUnit off
System {
Name "串并變換"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 38, 55, 52]
}
Block {
BlockType Reference
Name "Buffer"
Ports [1, 1]
Position [80, 27, 105, 63]
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "2"
V "0"
ic "0"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [185, 26, 190, 64]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Reference
Name "Frame Status\nConversion2"
Ports [1, 1]
Position [125, 27, 160, 63]
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Sample-based"
}
Block {
BlockType Outport
Name "SI"
Position [215, 23, 245, 37]
}
Block {
BlockType Outport
Name "SQ"
Position [215, 53, 245, 67]
Port "2"
}
Line {
SrcBlock "Frame Status\nConversion2"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Buffer"
SrcPort 1
DstBlock "Frame Status\nConversion2"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [5, 0]
DstBlock "SI"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Buffer"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [5, 0]
DstBlock "SQ"
DstPort 1
}
}
}
Line {
SrcBlock "Cos Wave"
SrcPort 1
Points [15, 0; 0, 20]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Sin Wave1"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [20, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Sign"
SrcPort 1
Points [30, 0]
Branch {
Points [0, -25]
DstBlock "Scope3"
DstPort 3
}
Branch {
Points [45, 0]
Branch {
DstBlock "Subsystem1"
DstPort 1
}
Branch {
DstBlock "Scope4"
DstPort 1
}
}
}
Line {
SrcBlock "Sign1"
SrcPort 1
Points [40, 0]
Branch {
Points [35, 0]
DstBlock "Subsystem1"
DstPort 2
}
Branch {
Points [0, -110]
Branch {
Points [0, -25]
DstBlock "Scope3"
DstPort 4
}
Branch {
DstBlock "Scope4"
DstPort 2
}
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Transport\nDelay1"
DstPort 1
}
Branch {
Points [0, -80; 15, 0]
Branch {
DstBlock "Product3"
DstPort 1
}
Branch {
Points [0, -100]
DstBlock "Scope1"
DstPort 1
}
}
Branch {
Points [0, 60]
DstBlock "Subsystem3"
DstPort 1
}
}
Line {
SrcBlock "Discrete\nTransfer Fcn"
SrcPort 1
Points [270, 0]
Branch {
DstBlock "Zero-Order\nHold2"
DstPort 1
}
Branch {
DstBlock "Scope5"
DstPort 2
}
}
Line {
SrcBlock "Zero-Order\nHold1"
SrcPort 1
Points [-20, 0; 0, 45]
Branch {
Points [0, 85]
DstBlock "Error Rate\nCalculation"
DstPort 2
}
Branch {
DstBlock "Scope5"
DstPort 1
}
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Analog\nFilter Design1"
DstPort 1
}
Branch {
Points [0, -95]
DstBlock "Scope2"
DstPort 1
}
}
Line {
SrcBlock "Subsystem3"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Product2"
DstPort 2
}
Branch {
Points [0, -210]
DstBlock "Scope1"
DstPort 3
}
}
Line {
SrcBlock "Analog\nFilter Design1"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Sign"
DstPort 1
}
Branch {
Points [0, -45]
Branch {
Points [0, -30]
DstBlock "Scope2"
DstPort 3
}
Branch {
DstBlock "Scope3"
DstPort 1
}
}
}
Line {
SrcBlock "Analog\nFilter Design2"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Sign1"
DstPort 1
}
Branch {
Points [0, -155]
Branch {
Points [0, -30]
DstBlock "Scope2"
DstPort 4
}
Branch {
DstBlock "Scope3"
DstPort 2
}
}
}
Line {
SrcBlock "Transport\nDelay1"
SrcPort 1
Points [10, 0]
Branch {
Points [15, 0]
Branch {
Points [0, 40]
DstBlock "Product2"
DstPort 1
}
Branch {
Points [0, -65]
DstBlock "Product3"
DstPort 2
}
}
Branch {
Points [0, -165]
DstBlock "Scope1"
DstPort 2
}
}
Line {
SrcBlock "Zero-Order\nHold2"
SrcPort 1
Points [75, 0]
DstBlock "Error Rate\nCalculation"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Analog\nFilter Design2"
DstPort 1
}
Branch {
Points [0, -205]
DstBlock "Scope2"
DstPort 2
}
}
Line {
SrcBlock "Subsystem1"
SrcPort 1
Points [15, 0]
Branch {
Points [15, 0]
DstBlock "Fcn1"
DstPort 1
}
Branch {
DstBlock "Scope4"
DstPort 3
}
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [15, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "m序列"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Fcn"
DstPort 1
}
Branch {
Points [0, 215]
DstBlock "Discrete\nTransfer Fcn"
DstPort 1
}
}
Line {
SrcBlock "Error Rate\nCalculation"
SrcPort 1
DstBlock "Display"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Gaussian Noise\nGenerator"
SrcPort 1
Points [45, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "差分相位編碼"
SrcPort 2
Points [20, 0; 0, 35]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "串并變換"
SrcPort 1
DstBlock "差分相位編碼"
DstPort 1
}
Line {
SrcBlock "串并變換"
SrcPort 2
DstBlock "差分相位編碼"
DstPort 2
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "串并變換"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [-30, 0]
Branch {
DstBlock "Zero-Order\nHold1"
DstPort 1
}
Branch {
Points [0, -175]
DstBlock "Scope4"
DstPort 4
}
}
Line {
SrcBlock "差分相位編碼"
SrcPort 1
Points [15, 0; 0, -25]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Ground2"
SrcPort 1
Points [20, 0; 0, -15]
DstBlock "差分相位編碼"
DstPort 3
}
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -