📄 costas.mdl
字号:
Memory off
FrameNumber off
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[7 594 193 165]"
AxisProperties on
XUnits "Hertz"
XRange "[0...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-35.0686742096566"
YMax "20.8916793467947"
YLabel "Magnitude, dB"
LineProperties off
LineStyles "-"
LineMarkers "None"
LineColors "[0 0 1]"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [955, 235, 975, 255]
Orientation "left"
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [680, 175, 700, 195]
Orientation "left"
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [750, 235, 770, 255]
Orientation "left"
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [540, 465, 560, 485]
Orientation "left"
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [1, 1]
Position [235, 460, 265, 490]
Orientation "left"
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction1"
Ports [1, 1]
Position [290, 555, 320, 585]
Orientation "left"
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [705, 275, 745, 315]
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
X0 "1148903752"
SampleTime "1/1000000"
}
Block {
BlockType UnitDelay
Name "Unit Delay1"
Position [460, 455, 500, 495]
Orientation "left"
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
NamePlacement "alternate"
SampleTime "1/40000000"
}
Block {
BlockType Outport
Name "Out1"
Position [1000, 93, 1030, 107]
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [1000, 368, 1030, 382]
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out3"
Position [1000, 433, 1030, 447]
ForegroundColor "[0.000000, 0.250980, 0.250980]"
DropShadow on
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Complex to\nReal-Imag"
DstPort 1
}
Line {
SrcBlock "Sign1"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Product2"
DstPort 2
}
Branch {
DstBlock "Out2"
DstPort 1
}
}
Line {
SrcBlock "Sign"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Product1"
DstPort 2
}
Branch {
DstBlock "Out1"
DstPort 1
}
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [5, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
Points [10, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [-55, 0]
Branch {
DstBlock "Sum1"
DstPort 2
}
Branch {
DstBlock "Unit Delay"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [-10, 0]
Branch {
DstBlock "Trigonometric\nFunction"
DstPort 1
}
Branch {
Points [0, 95]
DstBlock "Trigonometric\nFunction1"
DstPort 1
}
}
Line {
SrcBlock "Trigonometric\nFunction1"
SrcPort 1
DstBlock "Gain4"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
Points [-45, 0]
Branch {
DstBlock "Real-Imag to\nComplex1"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "Spectrum\nScope2"
DstPort 1
}
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [-20, 0; 0, -80]
DstBlock "Real-Imag to\nComplex1"
DstPort 2
}
Line {
SrcBlock "Random-Integer\nGenerator"
SrcPort 1
DstBlock "Integer to Bit\nConverter"
DstPort 1
}
Line {
SrcBlock "Real-Imag to\nComplex1"
SrcPort 1
Points [-35, 0; 0, -250]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Out3"
DstPort 1
}
Branch {
Points [0, 60]
Branch {
Points [0, 75]
Branch {
DstBlock "Discrete-Time\nEye Diagram\nScope"
DstPort 1
}
Branch {
Points [0, 110]
DstBlock "Discrete-Time\nScatter Plot\nScope"
DstPort 1
}
}
Branch {
DstBlock "AWGN plus Phase Noise"
DstPort 1
}
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [-15, 0; 0, 290]
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 1
Points [15, 0]
DstBlock "Digital\nFilter Design4"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 2
Points [15, 0]
DstBlock "Digital\nFilter Design1"
DstPort 1
}
Line {
SrcBlock "AWGN\nChannel1"
SrcPort 1
Points [10, 0; 0, 0]
Branch {
Points [0, 90]
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, 0]
DstBlock "Spectrum\nScope3"
DstPort 1
}
}
Line {
SrcBlock "Digital\nFilter Design4"
SrcPort 1
DstBlock "Downsample"
DstPort 1
}
Line {
SrcBlock "Downsample"
SrcPort 1
Points [0, -5; 85, 0]
Branch {
Points [25, 0]
Branch {
Points [0, 235]
DstBlock "Product2"
DstPort 1
}
Branch {
DstBlock "Sign"
DstPort 1
}
}
Branch {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -