Model { Name "dspsacomp" Version 4.00 RequirementInfo "9" SampleTimeColors off 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 "Fri Jun 12 08:06:13 1998" Creator "don" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "sconahan" ModifiedDateFormat "%" LastModifiedDate "Mon Jun 26 18:47:11 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 "Auto" 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 "-aExtMode=0 -aInlineInvariantSignals=0 -aLocalBlock" "Outputs=0 -aLogVarNameModifier=\"rt_\" -aRTWVerbose=1 -aRollThreshold=2 -aSho" "wEliminatedStatements=1" 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 off 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 "dspsacomp" Location [40, 82, 660, 468] Open on ModelBrowserVisibility off ModelBrowserWidth 212 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType Constant Name "AR Coefficients" Position [15, 304, 80, 336] Value "[1 -2.2137 2.9403 -2.1697 0.9606]" VectorParams1D on } Block { BlockType Reference Name "All-pole Filter" Ports [1, 1] Position [90, 43, 160, 87] SourceBlock "dsparch3/Direct-Form II\nTranspose Filter" SourceType "Direct-Form II Transpose Filter" num "1" den "[1 -2.2137 2.9403 -2.1697 0.9606]" ic "0" } Block { BlockType Reference Name "Burg Method" Ports [1, 1] Position [285, 128, 365, 182] BackgroundColor "green" SourceBlock "dspspect3/Burg Method" SourceType "Burg Method" inheritOrd off ord "4" inheritFFT off fftsize "128" Port { PortNumber 1 Name "Burg" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } } Block { BlockType Reference Name "Combine\nPlots" Ports [4, 1] Position [460, 139, 515, 181] SourceBlock "simulink3/Signals\n& Systems/Matrix\nConcatenat" "ion" SourceType "Matrix Concatenation" numInports "4" catMethod "Horizontal" } Block { BlockType Reference Name "Magnitude\nFFT" Ports [1, 1] Position [100, 294, 180, 346] SourceBlock "dspspect3/Magnitude\nFFT" SourceType "Magnitude FFT" fftLenInherit off fftsize "128" } Block { BlockType Math Name "Math\nFunction" Ports [1, 1] Position [210, 300, 250, 340] ShowName off Operator "reciprocal" OutputSignalType "auto" } Block { BlockType Reference Name "Modified Covariance\nMethod" Ports [1, 1] Position [285, 208, 365, 262] BackgroundColor "cyan" SourceBlock "dspspect3/Modified Covariance\nMethod" SourceType "Modified Covariance Method" ord "4" inheritFFT off fftsize "128" Port { PortNumber 1 Name "MCov" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } } Block { BlockType Reference Name "Overlap\nBuffer" Ports [1, 1] Position [180, 40, 230, 90] SourceBlock "dspbuff3/Buffer" SourceType "Buffer" N "64" V "32" ic "0" } Block { BlockType Reference Name "Short-Time FFT" Ports [1, 1] Position [280, 39, 360, 91] BackgroundColor "red" SourceBlock "dspspect3/Short-Time FFT" SourceType "Short-Time FFT" wintype "Hamming" Rs "50" beta "5" winsamp "Symmetric" inheritFFT off fftsize "128" navg "4" Port { PortNumber 1 Name "STFFT" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } } Block { BlockType Gain Name "Variance\nLevel" Position [280, 305, 330, 335] Gain "0.1" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on Port { PortNumber 1 Name "Actual" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } } Block { BlockType Reference Name "Vector\nScope" Ports [1] Position [560, 135, 595, 185] SourceBlock "dspsnks3/Vector\nScope" SourceType "Vector Scope" ScopeProperties off Domain "Frequency" HorizSpan "1" DisplayProperties off AxisGrid on Memory off FrameNumber on AxisLegend on AxisZoom off OpenScopeAtSimStart on OpenScopeImmediately off FigPos "[38 195 560 293]" AxisProperties on XUnits "Hertz" XRange "[0...Fs/2]" InheritXIncr off XIncr "1/1000" XLabel "Samples" YUnits "dB" YMin "-36.5241171110829" YMax "31.1414095795369" YLabel "Amplitude" LineProperties off LineColors "[1 0 0]|[0 1 0]|[0 0 1]" } Block { BlockType Reference Name "White Noise" Ports [0, 1] Position [30, 46, 65, 84] Diagnostics "AllowInheritedTsInSrc" SourceBlock "dspsrcs3/Random\nSource" SourceType "Random Source" SrcType "Gaussian" Min "0" Max "1" Mean "0" Var "0.1" Seed "0" Inherit off SampMode "Discrete" SampTime "1/1000" SampFrame "64" OutComplex "Real" } Line { SrcBlock "White Noise" SrcPort 1 DstBlock "All-pole Filter" DstPort 1 } Line { SrcBlock "Magnitude\nFFT" SrcPort 1 DstBlock "Math\nFunction" DstPort 1 } Line { SrcBlock "AR Coefficients" SrcPort 1 DstBlock "Magnitude\nFFT" DstPort 1 } Line { SrcBlock "All-pole Filter" SrcPort 1 DstBlock "Overlap\nBuffer" DstPort 1 } Line { SrcBlock "Overlap\nBuffer" SrcPort 1 Points [0, 0; 20, 0] Branch { DstBlock "Short-Time FFT" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "Burg Method" DstPort 1 } Branch { Points [0, 80] DstBlock "Modified Covariance\nMethod" DstPort 1 } } } Line { SrcBlock "Math\nFunction" SrcPort 1 DstBlock "Variance\nLevel" DstPort 1 } Line { Name "STFFT" Labels [0, 1] SrcBlock "Short-Time FFT" SrcPort 1 Points [45, 0; 0, 80] DstBlock "Combine\nPlots" DstPort 1 } Line { Name "MCov" FontName "MS Sans Serif" Labels [1, 0] SrcBlock "Modified Covariance\nMethod" SrcPort 1 Points [40, 0; 0, -70] DstBlock "Combine\nPlots" DstPort 3 } Line { Name "Burg" FontName "MS Sans Serif" Labels [0, 1] SrcBlock "Burg Method" SrcPort 1 DstBlock "Combine\nPlots" DstPort 2 } Line { Name "Actual" Labels [1, 0] SrcBlock "Variance\nLevel" SrcPort 1 Points [90, 0; 0, -145] DstBlock "Combine\nPlots" DstPort 4 } Line { SrcBlock "Combine\nPlots" SrcPort 1 DstBlock "Vector\nScope" DstPort 1 } Annotation { Position [117, 175] BackgroundColor "cyan" Text "A comparison of spectral\nanalysis techniques " FontName "Arial" FontSize 11 FontWeight "bold" } Annotation { Position [124, 34] Text "AR Process" FontName "Arial" FontSize 12 } } }