Model { Name "dspmrf_nbpf" Version 4.00 SampleTimeColors on LibraryLinkDisplay "none" WideLines off ShowLineDimensions on ShowPortDataTypes off RecordCoverage off CovPath "/" CovSaveName "covdata" CovNameIncrementing off CovHtmlReporting on BlockParametersDataTip on BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Sun Jun 14 14:45:16 1998" Creator "don" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "sconahan" ModifiedDateFormat "%" LastModifiedDate "Mon Jun 26 19:38:15 2000" ModelVersionFormat "1.%" ConfigurationManager "none" DefaultBlockFontName "Helvetica" DefaultBlockFontSize 10 DefaultBlockFontWeight "normal" DefaultBlockFontAngle "normal" DefaultAnnotationFontName "Helvetica" DefaultAnnotationFontSize 10 DefaultAnnotationFontWeight "normal" DefaultAnnotationFontAngle "normal" DefaultLineFontName "Helvetica" DefaultLineFontSize 9 DefaultLineFontWeight "normal" DefaultLineFontAngle "normal" SimParamPage "Solver" StartTime "0.0" StopTime "inf" SolverMode "SingleTasking" Solver "FixedStepDiscrete" RelTol "1e-3" AbsTol "1e-6" Refine "1" MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "auto" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime off TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput off OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" LimitDataPoints off MaxDataPoints "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" SingleTaskRateTransMsg "none" MultiTaskRateTransMsg "error" IntegerOverflowMsg "none" CheckForMatrixSingularity "none" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" LinearizationMsg "none" VectorMatrixConversionMsg "none" SfunCompatibilityCheckMsg "none" BlockPriorityViolationMsg "warning" ArrayBoundsChecking "none" ConsistencyChecking "none" ZeroCross on Profile off SimulationMode "normal" RTWSystemTargetFile "grt.tlc" RTWOptions " -aRollThreshold=2" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off TLCProfiler off TLCDebug off TLCCoverage off AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" 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 ExtModeLogAll on OptimizeBlockIOStorage on BufferReuse on ParameterPooling on BlockReductionOpt off BooleanDataType off 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 "dspmrf_nbpf" Location [59, 194, 658, 509] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType Reference Name "Complex\nExponential" Ports [0, 1] Position [25, 145, 55, 175] SourceBlock "dspsrcs3/Sine Wave" SourceType "Sine Wave" Amplitude "sqrt(2)" Frequency "1000" Phase "0" SampleMode "Discrete" OutComplex "Complex" CompMethod "Table Lookup" SampleTime "1/8000" SamplesPerFrame "48" ResetState "Restart at time zero" } Block { BlockType ComplexToRealImag Name "Complex to\nReal-Imag" Ports [1, 2] Position [390, 78, 440, 127] ShowName off Output "RealAndImag" } Block { BlockType Reference Name "Filtered" Ports [1] Position [555, 80, 590, 130] SourceBlock "dspsnks3/Vector\nScope" SourceType "Vector Scope" ScopeProperties on Domain "Time" HorizSpan "10" DisplayProperties off AxisGrid on Memory off FrameNumber off AxisLegend off AxisZoom off OpenScopeAtSimStart on OpenScopeImmediately off FigPos "[374 163 348 280]" AxisProperties off XUnits "Hertz" XRange "[0...Fs/2]" InheritXIncr on XIncr "1" XLabel "Samples" YUnits "dB" YMin "-1.1025" YMax "1.1025" YLabel "Amplitude" LineProperties off LineColors "|[1 0 0]" } Block { BlockType Reference Name "Input\nSignal" Ports [0, 1] Position [25, 70, 55, 100] SourceBlock "dspsrcs3/Sine Wave" SourceType "Sine Wave" Amplitude "1" Frequency "1000-40" Phase "0" SampleMode "Discrete" OutComplex "Real" CompMethod "Trigonometric Fcn" SampleTime "1/8000" SamplesPerFrame "48" ResetState "Restart at time zero" } Block { BlockType Reference Name "Original" Ports [1] Position [555, 25, 590, 75] NamePlacement "alternate" SourceBlock "dspsnks3/Vector\nScope" SourceType "Vector Scope" ScopeProperties on Domain "Time" HorizSpan "10" DisplayProperties off AxisGrid on Memory off FrameNumber off AxisLegend off AxisZoom off OpenScopeAtSimStart on OpenScopeImmediately off FigPos "[58 163 303 280]" AxisProperties off XUnits "Hertz" XRange "[0...Fs/2]" InheritXIncr on XIncr "1" XLabel "Samples" YUnits "dB" YMin "-1.1025" YMax "1.1025" YLabel "Amplitude" LineProperties off LineColors "|[1 0 0]" } Block { BlockType Product Name "Product" Ports [2, 1] Position [140, 77, 170, 108] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product1" Ports [2, 1] Position [330, 87, 360, 118] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType SubSystem Name "Related Demos" Ports [] Position [350, 210, 426, 255] BackgroundColor "cyan" ShowName off OpenFcn "dspmrf_menu" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskDisplay "disp('Other\\nMultirate Filter\\nDemos')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Related Demos" Location [305, 104, 727, 219] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on } } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [485, 76, 510, 129] ShowName off IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Reference Name "Two-stage Multirate\nNarrow Lowpass\nFrame-Base" "d" Ports [1, 1] Position [210, 73, 265, 117] SourceBlock "dspmrf_lib/Two-stage Multirate\nNarrow Lowpass" "\nFrame-Based" SourceType "SubSystem" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" } Line { SrcBlock "Product" SrcPort 1 DstBlock "Two-stage Multirate\nNarrow Lowpass\nFrame-Base" "d" DstPort 1 } Line { SrcBlock "Two-stage Multirate\nNarrow Lowpass\nFrame-Base" "d" SrcPort 1 DstBlock "Product1" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Complex to\nReal-Imag" DstPort 1 } Line { SrcBlock "Complex to\nReal-Imag" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Complex to\nReal-Imag" SrcPort 2 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Input\nSignal" SrcPort 1 Points [40, 0] Branch { DstBlock "Product" DstPort 1 } Branch { Points [0, -35] DstBlock "Original" DstPort 1 } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Filtered" DstPort 1 } Line { SrcBlock "Complex\nExponential" SrcPort 1 Points [45, 0] Branch { Points [0, -60] DstBlock "Product" DstPort 2 } Branch { Points [210, 0] DstBlock "Product1" DstPort 2 } } Annotation { Position [227, 248] BackgroundColor "cyan" Text "Multi-rate Multi-stage\nNarrow Bandpass Filter" "\nFrame-Based\n\n8 kHz sample rate\n1 kHz center freq\n160 Hz bandwidth" FontName "Arial" FontSize 14 } Annotation { Position [70, 264] Text "Adjust Frequency\nof Input Signal\nas simulatio" "n runs" } } }