📄 detwithnoise.mdl
字号:
Model {
Name "detwithnoise"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes off
StartTime "0.0"
StopTime "10.0"
SolverMode "Auto"
Solver "ode45"
RelTol "1e-3"
AbsTol "auto"
Refine "1"
MaxStep "auto"
InitialStep "auto"
FixedStep "auto"
MaxOrder 5
OutputOption "RefineOutputTimes"
OutputTimes "[]"
LoadExternalInput off
ExternalInput "[t, u]"
SaveTime on
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput on
OutputSaveName "yout"
LoadInitialState off
InitialState "xInitial"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Matrix"
LimitMaxRows off
MaxRows "1000"
Decimation "1"
AlgebraicLoopMsg "warning"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
IntegerOverflowMsg "warning"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
SignalLabelMismatchMsg "none"
ConsistencyChecking "off"
ZeroCross on
SimulationMode "normal"
BlockDataTips on
BlockParametersDataTip on
BlockAttributesDataTip off
BlockPortWidthsDataTip off
BlockDescriptionStringDataTip off
BlockMaskParametersDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
OptimizeBlockIOStorage on
BufferReuse on
BooleanDataType off
RTWSystemTargetFile "grt.tlc"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "oneshot"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
ExtModeArmWhenConnect off
Created "Sat Nov 06 15:35:21 1999"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Mon Nov 08 19:11:48 1999"
ModelVersionFormat "1.%<AutoIncrement:10>"
ConfigurationManager "none"
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "detwithnoise"
Location [151, 83, 850, 602]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "Band pass filter\ncentered at 5kHz"
Ports [1, 1, 0, 0, 0]
Position [455, 322, 525, 378]
SourceBlock "dspddes2/Digital FIR\nFilter Design"
SourceType "Digital FIR Filter Design"
filttype "Bandpass"
N "22"
Wlo "0.3"
Whi "0.7"
W0 "[.2 .5 .8]"
g0 "1"
W1 "[0 .2 .3 .6 .8 1]"
gains "[1 .5 0 0 1 .5]"
wintype "Hamming"
Rs "10"
frame off
numChans "1"
}
Block {
BlockType Reference
Name "Band-Limited\nWhite Noise"
Ports [0, 1, 0, 0, 0]
Position [245, 410, 275, 440]
SourceBlock "simulink3/Sources/Band-Limited\nWhite Noise"
SourceType "Continuous White Noise."
Cov "[0.1]"
Ts "0.1"
seed "[23341]"
}
Block {
BlockType Constant
Name "Cons tant"
Position [130, 205, 160, 235]
Value "1"
}
Block {
BlockType Reference
Name "Digital FIR\nFilter Design"
Ports [1, 1, 0, 0, 0]
Position [460, 427, 530, 483]
SourceBlock "dspddes2/Digital FIR\nFilter Design"
SourceType "Digital FIR Filter Design"
filttype "Lowpass"
N "9"
Wlo "0.4"
Whi "0.6"
W0 "[.2 .5 .8]"
g0 "1"
W1 "[0 .2 .3 .6 .8 1]"
gains "[1 .5 0 0 1 .5]"
wintype "Hamming"
Rs "10"
frame off
numChans "1"
}
Block {
BlockType Gain
Name "Km"
Position [295, 150, 325, 180]
Gain "1"
SaturateOnIntegerOverflow on
}
Block {
BlockType SubSystem
Name "More Info"
Ports [0, 0, 0, 0, 0]
Position [35, 391, 160, 469]
DropShadow on
ShowName off
FontName "Arial"
FontSize 12
ShowPortLabels on
MaskDisplay "disp('Double click\\nhere for\\ninformation on"
"\\nthis demonstration')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "More Info"
Location [95, 129, 703, 338]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Annotation {
Position [233, 22]
Text "Data Typing Filter Demonstration"
FontName "Arial"
FontSize 14
FontWeight "bold"
}
Annotation {
Position [45, 40]
HorizontalAlignment "left"
VerticalAlignment "top"
Text "This demonstration shows how a filter can b"
"e applied to signals of different data types using\nstandard Simulink blocks."
" In this example, a signal with some noise on it is produced. This \nsignal"
" is then fed into a filter as a single precision data type and a standard dou"
"ble data type.\nThe output from the filter for each signal is then compared a"
"nd the error is displayed on the \nscope."
FontName "Arial"
FontSize 12
}
}
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1, 0, 0, 0]
Position [360, 158, 390, 182]
ShowName off
Inputs "2"
SaturateOnIntegerOverflow on
Port {
PortNumber 1
Name "Modulated\nInput"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1, 0, 0, 0]
Position [570, 328, 600, 352]
ShowName off
Inputs "2"
SaturateOnIntegerOverflow on
Port {
PortNumber 1
Name "Multiplier"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Scope
Name "Scope"
Ports [1, 0, 0, 0, 0]
Position [250, 69, 280, 101]
DropShadow on
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -