📄 chou_shi.mdl
字号:
ShowName off
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Logical\nOperator1"
SrcPort 1
Points [40, 0; 0, 60]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
DstBlock "Logical\nOperator1"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [20, 0; 0, -35]
DstBlock "Relational\noperator"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Relational\noperator"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Clock1"
SrcPort 1
DstBlock "Relational\noperator"
DstPort 1
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
Points [-35, 0; 0, -35]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Unit Delay1"
SrcPort 1
Points [-35, 0; 0, -40]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [20, 0; 0, 85]
DstBlock "Sum1"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [0, 0]
Branch {
Points [70, 0; 0, 40]
DstBlock "Unit Delay"
DstPort 1
}
Branch {
DstBlock "Logical\nOperator"
DstPort 1
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [0, 0]
Branch {
Points [55, 0; 0, 45]
DstBlock "Unit Delay1"
DstPort 1
}
Branch {
Points [90, 0; 0, -75]
DstBlock "Logical\nOperator"
DstPort 2
}
}
}
}
Block {
BlockType ToWorkspace
Name "环境变量1"
Position [515, 57, 565, 73]
FontName "宋体"
FontSize 12
VariableName "chou_shi_z1"
Buffer "4096"
Decimation "1"
SampleTime "0.001"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "环境变量2"
Position [515, 92, 565, 108]
FontName "宋体"
FontSize 12
VariableName "chou_shi_z2"
Buffer "4096"
Decimation "1"
SampleTime "0.001"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "环境变量3"
Position [515, 127, 565, 143]
FontName "宋体"
FontSize 12
VariableName "chou_shi_z3"
Buffer "4096"
Decimation "1"
SampleTime "0.001"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "环境变量4"
Position [515, 162, 565, 178]
FontName "宋体"
FontSize 12
VariableName "chou_shi_z4"
Buffer "4096"
Decimation "1"
SampleTime "0.001"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "时间变量\n"
Position [490, 347, 540, 363]
FontName "宋体"
FontSize 12
VariableName "chou_shi_t"
Buffer "4096"
Decimation "1"
SampleTime "0.001"
SaveFormat "Matrix"
}
Block {
BlockType Clock
Name "时钟\n"
Position [365, 343, 385, 367]
FontName "宋体"
FontSize 12
DisplayTime off
Decimation "10"
}
Block {
BlockType Scope
Name "示波器\n(抽样后信号)"
Ports [1, 0, 0, 0, 0]
Position [425, 277, 455, 313]
FontName "宋体"
FontSize 12
Floating off
Location [143, 80, 473, 402]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "3.000000"
YMin "-14"
YMax "14"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "Matrix"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "示波器\n(抽样脉冲信号)"
Ports [1, 0, 0, 0, 0]
Position [190, 286, 220, 324]
FontName "宋体"
FontSize 12
Floating off
Location [50, 70, 385, 389]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "1.000000"
YMin "-8"
YMax "8"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "Matrix"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "示波器\n(恢复信号)"
Ports [1, 0, 0, 0, 0]
Position [525, 197, 555, 233]
FontName "宋体"
FontSize 12
Floating off
Location [175, 82, 507, 402]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "3.000000"
YMin "-1"
YMax "1"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "Matrix"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "示波器\n(滤波后信号)\n"
Ports [1, 0, 0, 0, 0]
Position [310, 122, 340, 158]
FontName "宋体"
FontSize 12
Floating off
Location [112, 84, 445, 397]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "3.000000"
YMin "-4"
YMax "4"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "Matrix"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "示波器\n(输入信号)"
Ports [1, 0, 0, 0, 0]
Position [190, 207, 220, 243]
FontName "宋体"
FontSize 12
Floating off
Location [3, 76, 331, 387]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "3.000000"
YMin "-4.000000"
YMax "4.000000"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "Matrix"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType SignalGenerator
Name "信号源\n(输入信号)\n\n"
Position [55, 121, 100, 159]
FontName "宋体"
FontSize 12
WaveForm "sine"
Amplitude "2.000000"
Frequency "6.000000"
Units "rad/sec"
}
Line {
SrcBlock "乘法器"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "巴特沃斯\n低通滤波器2"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "示波器\n(抽样后信号)"
DstPort 1
}
Branch {
Points [0, -80]
DstBlock "环境变量3"
DstPort 1
}
}
Line {
SrcBlock "抽样脉冲\n(抽样函数)"
SrcPort 1
Points [35, 0]
Branch {
Points [135, 0; 0, -55]
DstBlock "乘法器"
DstPort 2
}
Branch {
Points [0, 30]
DstBlock "示波器\n(抽样脉冲信号)"
DstPort 1
}
}
Line {
SrcBlock "巴特沃斯\n低通滤波器2"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "示波器\n(恢复信号)"
DstPort 1
}
Branch {
Points [0, -45]
DstBlock "环境变量4"
DstPort 1
}
}
Line {
SrcBlock "时钟\n"
SrcPort 1
DstBlock "时间变量\n"
DstPort 1
}
Line {
SrcBlock "信号源\n(输入信号)\n\n"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 85]
DstBlock "示波器\n(输入信号)"
DstPort 1
}
Branch {
Points [0, -75]
DstBlock "环境变量1"
DstPort 1
}
Branch {
DstBlock "巴特沃斯\n低通滤波器1"
DstPort 1
}
}
Line {
SrcBlock "巴特沃斯\n低通滤波器1"
SrcPort 1
Points [35, 0]
Branch {
Points [0, 70]
DstBlock "乘法器"
DstPort 1
}
Branch {
DstBlock "示波器\n(滤波后信号)\n"
DstPort 1
}
Branch {
Points [0, -40]
DstBlock "环境变量2"
DstPort 1
}
}
Annotation {
Position [132, 22]
VerticalAlignment "top"
ForegroundColor "blue"
Text "连续时间抽样实验"
FontName "楷体_GB2312"
FontSize 16
FontWeight "bold"
FontAngle "italic"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -