Model { Name "dspwdnois" Version 4.00 SampleTimeColors on LibraryLinkDisplay "none" WideLines on 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 PreLoadFcn "load dspwlets;" Created "Fri Aug 07 06:58:46 1998" Creator "don" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "asharma" ModifiedDateFormat "%" LastModifiedDate "Fri Aug 18 13:50:55 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 "1024" SolverMode "Auto" Solver "FixedStepDiscrete" RelTol "1e-3" AbsTol "auto" 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" 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 "dspwdnois" Location [60, 74, 851, 322] 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 "Analysis\nFilter Bank" Ports [1, 4] Position [120, 85, 180, 140] SourceBlock "dspmlti3/Dyadic Analysis\nFilter Bank" SourceType "Dyadic Analysis Filter Bank" hl "lod" hh "hid" numLevels "3" tree "Asymmetric" } Block { BlockType SubSystem Name "Delay Alignment" Ports [4, 4] Position [230, 77, 310, 148] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Delay Alignment" Location [304, 441, 584, 706] Open off ModelBrowserVisibility on ModelBrowserWidth 212 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In1" Position [25, 38, 55, 52] Port "1" Interpolate on } Block { BlockType Inport Name "In2" Position [25, 98, 55, 112] Port "2" Interpolate on } Block { BlockType Inport Name "In3" Position [25, 158, 55, 172] Port "3" Interpolate on } Block { BlockType Inport Name "In4" Position [25, 208, 55, 222] Port "4" Interpolate on } Block { BlockType Reference Name "Integer Delay" Ports [1, 1] Position [80, 27, 200, 63] SourceBlock "dspsigops/Integer Delay" SourceType "Integer Delay" delay "3*(length(lod)-1)" ic "0" } Block { BlockType Reference Name "Integer Delay1" Ports [1, 1] Position [80, 87, 200, 123] SourceBlock "dspsigops/Integer Delay" SourceType "Integer Delay" delay "length(lod) - 1" ic "0" } Block { BlockType Outport Name "Out1" Position [225, 38, 255, 52] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Out2" Position [225, 98, 255, 112] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Out3" Position [220, 158, 250, 172] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Out4" Position [220, 208, 250, 222] Port "4" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Integer Delay" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Integer Delay" DstPort 1 } Line { SrcBlock "Integer Delay1" SrcPort 1 DstBlock "Out2" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 DstBlock "Integer Delay1" DstPort 1 } Line { SrcBlock "In4" SrcPort 1 DstBlock "Out4" DstPort 1 } Line { SrcBlock "In3" SrcPort 1 DstBlock "Out3" DstPort 1 } } } Block { BlockType SubSystem Name "Info" Ports [] Position [308, 182, 403, 240] BackgroundColor "cyan" DropShadow on NamePlacement "alternate" ShowName off FontName "Arial" FontSize 14 FontWeight "bold" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "Frame-Based Simulation Info" MaskDisplay "disp('Info')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Info" Location [172, 384, 544, 587] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Annotation { Position [189, 98] Text "Demonstration of wavelet de-noising\n\n\nSe" "t the threshold levels in the \"Soft Threshold\" block\nto alter the de-noisi" "ng characteristics of the system:\n\nThreshold=[0 0 0 0] -> No de-noising\n(" "perfect reconstruction)\n\nThreshold=[3 2 1 0] -> Moderate de-noising\n(remov" "es small-scale content from signal)" FontName "Arial" FontSize 14 } } } Block { BlockType Reference Name "Integer Delay1" Ports [1, 1] Position [280, 12, 420, 48] SourceBlock "dspsigops/Integer Delay" SourceType "Integer Delay" delay "7*(length(lod)-1)+16" ic "0" Port { PortNumber 1 Name "Input" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } } Block { BlockType SubSystem Name "NT-specific Demo" Ports [] Position [530, 183, 625, 240] BackgroundColor "cyan" DropShadow on NamePlacement "alternate" ShowName off OpenFcn "dspwdnoisf_nt" FontName "Arial" FontSize 14 FontWeight "bold" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "NT-only Demo" MaskDisplay "disp('PC/Windows\\nDemo')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "NT-specific Demo" Location [51, 666, 589, 839] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on } } Block { BlockType SubSystem Name "NT-specific Demo1" Ports [] Position [416, 183, 520, 241] BackgroundColor "cyan" DropShadow on NamePlacement "alternate" ShowName off OpenFcn "dspwdnoisf" FontName "Arial" FontSize 14 FontWeight "bold" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "Frame-Based Demo" MaskDisplay "disp('Frame-Based\\nDemo')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "NT-specific Demo1" Location [51, 666, 589, 839] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on } } Block { BlockType Scope Name "Scope" Ports [3] Position [705, 54, 735, 86] Floating off Location [54, 401, 535, 759] Open on NumInputPorts "3" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" } Grid "on" TimeRange "1025" YMin "-10~-10~-5" YMax "10~10~5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Reference Name "Signal From\nWorkspace" Ports [0, 1] Position [20, 98, 75, 132] SourceBlock "dspsrcs3/Signal From\nWorkspace" SourceType "Signal From Workspace" X "noisdopp" Ts "ts" nsamps "1" OutputAfterFinalValue "Setting To Zero" } Block { BlockType SubSystem Name "Soft Threshold" Ports [4, 4] Position [375, 81, 445, 144] ShowPortLabels off TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "Soft Threshold" MaskDescription "Apply a soft threshold (deadzone transfer funct" "ion) to each signal in the decomposition. First threshold applies to top-mos" "t filter bank output." MaskHelp "Vector of thresholds for each decomposition lev" "el.\n" MaskPromptString "Vector of thresholds for each level:" MaskStyleString "edit" MaskTunableValueString "on" MaskEnableString "on" MaskVisibilityString "on" MaskToolTipString "on" MaskVariables "st=@1;" MaskInitialization "x=([-1 1 NaN 0 0 NaN -1 -.5 .5 1]+1)/2*.7+.15;" "\ny=([0 0 NaN -1 1 NaN -1 0 0 1]+1)/2*.7+.05;" MaskDisplay "text(.1,.9,'Dead Zone')\nplot(x,y)" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "normalized" MaskValueString "[3 2 1 0]" System { Name "Soft Threshold" Location [213, 155, 464, 442] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "in_1" Position [30, 25, 50, 45] Port "1" Interpolate on } Block { BlockType Inport Name "in_2" Position [30, 80, 50, 100] Port "2" Interpolate on } Block { BlockType Inport Name "in_3" Position [30, 140, 50, 160] Port "3" Interpolate on } Block { BlockType Inport Name "in_4" Position [30, 205, 50, 225] Port "4" Interpolate on } Block { BlockType DeadZone Name "Dead Zone1" Position [85, 16, 125, 54] LowerValue "-st(1)" UpperValue "st(1)" SaturateOnIntegerOverflow on LinearizeAsGain on } Block { BlockType DeadZone Name "Dead Zone2" Position [85, 71, 125, 109] LowerValue "-st(2)" UpperValue "st(2)" SaturateOnIntegerOverflow on LinearizeAsGain on } Block { BlockType DeadZone Name "Dead Zone3" Position [85, 131, 125, 169] LowerValue "-st(3)" UpperValue "st(3)" SaturateOnIntegerOverflow on LinearizeAsGain on } Block { BlockType DeadZone Name "Dead Zone4" Position [85, 196, 125, 234] LowerValue "-st(4)" UpperValue "st(4)" SaturateOnIntegerOverflow on LinearizeAsGain on } Block { BlockType Outport Name "out_1" Position [175, 25, 195, 45] Port "1" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "out_2" Position [175, 80, 195, 100] Port "2" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "out_3" Position [170, 140, 190, 160] Port "3" OutputWhenDisabled "held" InitialOutput "0" } Block { BlockType Outport Name "out_4" Position [170, 205, 190, 225] Port "4" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "in_1" SrcPort 1 DstBlock "Dead Zone1" DstPort 1 } Line { SrcBlock "Dead Zone1" SrcPort 1 DstBlock "out_1" DstPort 1 } Line { SrcBlock "in_2" SrcPort 1 DstBlock "Dead Zone2" DstPort 1 } Line { SrcBlock "Dead Zone2" SrcPort 1 DstBlock "out_2" DstPort 1 } Line { SrcBlock "in_3" SrcPort 1 DstBlock "Dead Zone3" DstPort 1 } Line { SrcBlock "Dead Zone3" SrcPort 1 DstBlock "out_3" DstPort 1 } Line { SrcBlock "in_4" SrcPort 1 DstBlock "Dead Zone4" DstPort 1 } Line { SrcBlock "Dead Zone4" SrcPort 1 DstBlock "out_4" DstPort 1 } } } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [595, 65, 625, 95] NamePlacement "alternate" ShowName off IconShape "round" Inputs "+-" SaturateOnIntegerOverflow on Port { PortNumber 1 Name "Residual" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } } Block { BlockType Reference Name "Synthesis\nFilter Bank" Ports [4, 1] Position [505, 81, 565, 144] SourceBlock "dspmlti3/Dyadic Synthesis\nFilter Bank" SourceType "Dyadic Synthesis Filter Bank" hl "lor" hh "hir" numLevels "3" tree "Asymmetric" Port { PortNumber 1 Name "Output" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" } } Line { SrcBlock "Signal From\nWorkspace" SrcPort 1 Points [15, 0] Branch { Points [0, -85] DstBlock "Integer Delay1" DstPort 1 } Branch { DstBlock "Analysis\nFilter Bank" DstPort 1 } } Line { SrcBlock "Analysis\nFilter Bank" SrcPort 4 DstBlock "Delay Alignment" DstPort 4 } Line { SrcBlock "Analysis\nFilter Bank" SrcPort 3 DstBlock "Delay Alignment" DstPort 3 } Line { SrcBlock "Analysis\nFilter Bank" SrcPort 2 DstBlock "Delay Alignment" DstPort 2 } Line { SrcBlock "Analysis\nFilter Bank" SrcPort 1 DstBlock "Delay Alignment" DstPort 1 } Line { SrcBlock "Delay Alignment" SrcPort 4 DstBlock "Soft Threshold" DstPort 4 } Line { SrcBlock "Delay Alignment" SrcPort 3 DstBlock "Soft Threshold" DstPort 3 } Line { SrcBlock "Delay Alignment" SrcPort 2 DstBlock "Soft Threshold" DstPort 2 } Line { SrcBlock "Delay Alignment" SrcPort 1 DstBlock "Soft Threshold" DstPort 1 } Line { SrcBlock "Soft Threshold" SrcPort 1 DstBlock "Synthesis\nFilter Bank" DstPort 1 } Line { SrcBlock "Soft Threshold" SrcPort 2 DstBlock "Synthesis\nFilter Bank" DstPort 2 } Line { SrcBlock "Soft Threshold" SrcPort 3 DstBlock "Synthesis\nFilter Bank" DstPort 3 } Line { SrcBlock "Soft Threshold" SrcPort 4 DstBlock "Synthesis\nFilter Bank" DstPort 4 } Line { Name "Input" Labels [0, 0] SrcBlock "Integer Delay1" SrcPort 1 Points [185, 0] Branch { DstBlock "Sum" DstPort 1 } Branch { Labels [1, 1] Points [80, 0] DstBlock "Scope" DstPort 1 } } Line { Name "Output" Labels [0, 0] SrcBlock "Synthesis\nFilter Bank" SrcPort 1 Points [40, 0] Branch { DstBlock "Sum" DstPort 2 } Branch { Labels [1, 0] Points [80, 0] DstBlock "Scope" DstPort 2 } } Line { Name "Residual" Labels [-1, 1] SrcBlock "Sum" SrcPort 1 DstBlock "Scope" DstPort 3 } } }