📄 ex0827.mdl
字号:
BlockType Reference
Name "Digital\nFilter Design"
Ports [1, 1]
Position [245, 84, 325, 156]
UserDataPersistent on
UserData "DataTag0"
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType "Digital Filter Design"
}
Block {
BlockType Reference
Name "Digital\nFilter Design2"
Ports [1, 1]
Position [80, 77, 145, 133]
UserDataPersistent on
UserData "DataTag1"
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType "Digital Filter Design"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation"
Ports [3, 1]
Position [460, 63, 520, 177]
SourceBlock "simulink/Math\nOperations/Matrix\nConcatenation"
SourceType "Matrix Concatenation"
numInports "3"
catMethod "Horizontal"
}
Block {
BlockType Reference
Name "Random\nSource"
Ports [0, 1]
Position [25, 86, 60, 124]
UserDataPersistent on
UserData "DataTag2"
Diagnostics "AllowInheritedTsInSrc"
SourceBlock "dspsrcs4/Random\nSource"
SourceType "Random Source"
SrcType "Uniform"
NormMethod "Ziggurat"
CltLength "12"
Min "0"
Max "4"
Mean "0"
Var "1"
RepMode "Not repeatable"
Seed "1"
Inherit off
SampMode "Discrete"
SampTime "1/1000"
SampFrame "50"
DataType "Double"
OutComplex "Real"
}
Block {
BlockType Reference
Name "Sine Wave"
Ports [0, 1]
Position [20, 204, 95, 276]
SourceBlock "dspsrcs4/Sine Wave"
SourceType "Sine Wave"
Amplitude "1"
Frequency "75"
Phase "0"
SampleMode "Discrete"
OutComplex "Real"
CompMethod "Trigonometric fcn"
TableSize "Speed"
SampleTime "1/1000"
SamplesPerFrame "50"
additionalParams off
dataType "double"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "14"
ResetState "Restart at time zero"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [190, 91, 215, 149]
ShowName off
}
Block {
BlockType Reference
Name "Vector\nScope"
Ports [1]
Position [540, 76, 585, 164]
SourceBlock "dspsnks4/Vector\nScope"
SourceType "Vector Scope"
ScopeProperties on
Domain "Time"
HorizSpan "1"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend on
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[386 364 548 328]"
AxisProperties off
XUnits "Hertz"
XRange "[0...Fs/2]"
InheritXIncr on
XIncr "1"
XLabel "Time"
YUnits "dB"
YMin "-10"
YMax "10"
YLabel "Amplitude"
LineProperties off
LineStyles "-||None"
LineMarkers "None|diamond|*"
LineColors "|[1 0 0]|[0 0 1]"
}
Line {
SrcBlock "Random\nSource"
SrcPort 1
DstBlock "Digital\nFilter Design2"
DstPort 1
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [0, 0; 75, 0]
Branch {
DstBlock "Sum"
DstPort 2
}
Branch {
Points [220, 0; 0, -85]
DstBlock "Matrix\nConcatenation"
DstPort 3
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, -65; 220, 0]
DstBlock "Matrix\nConcatenation"
DstPort 1
}
Branch {
Points [0, 0]
DstBlock "Digital\nFilter Design"
DstPort 1
}
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
DstBlock "Vector\nScope"
DstPort 1
}
Line {
SrcBlock "Digital\nFilter Design"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 2
}
Line {
SrcBlock "Digital\nFilter Design2"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Annotation {
Name "High-Frequency Noise"
Position [81, 46]
ForegroundColor "blue"
FontName "Arial"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "Low-Frequency Signal"
Position [81, 186]
ForegroundColor "blue"
FontName "Arial"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "Lowpass Filter"
Position [283, 74]
FontName "Arial"
FontSize 11
FontWeight "bold"
}
Annotation {
Name " \n"
"\n\n\n\n\n\n "
Position [89, 109]
ForegroundColor "green"
BackgroundColor "yellow"
}
Annotation {
Name "Highpass Filter"
Position [112, 71]
BackgroundColor "yellow"
FontName "Arial"
FontSize 11
FontWeight "bold"
}
Annotation {
Name "Noisy sine wave"
Position [371, 37]
}
Annotation {
Name "Filtered noisy sine wave"
Position [392, 99]
}
Annotation {
Name "Original sine wave"
Position [379, 127]
}
}
}
MatData {
NumRecords 3
DataRecord {
Tag DataTag2
Data " %)30 . \\ 8 ( @ % "
"\" $ ! 0 % 0 \"0 $ 2 4V5E9 4V5E9$9L86< "
" #@ $ & \" 0 !0 @ ! !0 $ ! H"
" Q #, . X #D #@ % & \" 0 !0 @ ! #0 "
" $ ! !H !$ &\\ 3@!O '0 4P!A '8 90!3 &4 90!D "
}
DataRecord {
Tag DataTag1
Data " %)30 . .!L 8 ( @ % "
"\" $ ! 0 % 0 #0 $ \"\" =6YD;VUA;F%G97( '-I9&5B87"
"( !C9FD 9G9T;V]L &-U<G)E;G1?9FEL= !F:6QT97)-861E0GD"
" 8W5R<F5N=$9S '9E<G-I;VX !H1FEG :$9$00 "
" X # !@ @ \" 4 ( 0 $ ! 4 ! ( "
" 0 ! !486< %9E<G-I;VX #@ # & \" 0 !0 @ "
" $ ! . . 8 ( !@ % \" $ "
" ! 0 ) \" / _#@ \" 2 & \" ( !0"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -