⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adlp_lms.mdl

📁 数字信号处理(机械工业出版社)的源码
💻 MDL
📖 第 1 页 / 共 2 页
字号:
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "adlp_lms"
    Location		    [39, 93, 564, 387]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "Flip"
      Ports		      [1, 1]
      Position		      [360, 201, 395, 229]
      SourceBlock	      "dspindex/Flip"
      SourceType	      "Flip"
      dim		      "Columns"
    }
    Block {
      BlockType		      Reference
      Name		      "Integer Delay"
      Ports		      [1, 1]
      Position		      [180, 152, 225, 188]
      ShowName		      off
      SourceBlock	      "dspsigops/Integer Delay"
      SourceType	      "Integer Delay"
      delay		      "1"
      ic		      "0"
      reset_popup	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "LMS\nAdaptive Filter"
      Ports		      [2, 2]
      Position		      [255, 156, 340, 214]
      SourceBlock	      "dspadpt3/LMS\nAdaptive Filter"
      SourceType	      "LMS Adaptive Filter"
      n			      "16"
      mu		      "0.5"
      ic		      "0.0"
      leakage		      "1.0"
      normalized	      on
      Adapt		      off
      RstPort		      "None"
      Port {
	PortNumber		1
	Name			"Prediction"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Measurement\nNoise"
      Ports		      [0, 1]
      Position		      [40, 155, 70, 185]
      SourceBlock	      "simulink/Sources/Band-Limited\nWhite Noise"
      SourceType	      "Continuous White Noise."
      Cov		      "[0.1]"
      Ts		      "1"
      seed		      "[23341]"
      VectorParams1D	      on
    }
    Block {
      BlockType		      Reference
      Name		      "Predictor\nCoefficients"
      Ports		      [1]
      Position		      [420, 190, 455, 240]
      SourceBlock	      "dspsnks4/Vector\nScope"
      SourceType	      "Vector Scope"
      ScopeProperties	      off
      Domain		      "User-defined"
      HorizSpan		      "1"
      DisplayProperties	      on
      AxisGrid		      on
      Memory		      off
      FrameNumber	      on
      AxisLegend	      off
      AxisZoom		      on
      OpenScopeAtSimStart     on
      OpenScopeImmediately    off
      FigPos		      "[222 254 343 297]"
      AxisProperties	      off
      XUnits		      "Hertz"
      XRange		      "[0...Fs/2]"
      InheritXIncr	      off
      XIncr		      "1"
      XLabel		      "Samples"
      YUnits		      "dB"
      YMin		      "-0.2"
      YMax		      "0.25"
      YLabel		      "Amplitude"
      LineProperties	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Results"
      Ports		      [3]
      Position		      [445, 84, 480, 136]
      ShowName		      off
      Location		      [575, 66, 917, 449]
      Open		      off
      NumInputPorts	      "3"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
	axes3			""
      }
      TimeRange		      "300"
      YMin		      "-2~-0.5~-2"
      YMax		      "2~1~2"
      DataFormat	      "Array"
    }
    Block {
      BlockType		      Reference
      Name		      "Sine Wave"
      Ports		      [0, 1]
      Position		      [40, 93, 70, 127]
      SourceBlock	      "dspsrcs4/Sine Wave"
      SourceType	      "Sine Wave"
      Amplitude		      "1"
      Frequency		      "0.015"
      Phase		      "0"
      SampleMode	      "Discrete"
      OutComplex	      "Real"
      CompMethod	      "Trigonometric fcn"
      TableSize		      "Speed"
      SampleTime	      "1"
      SamplesPerFrame	      "1"
      additionalParams	      off
      dataType		      "double"
      wordLen		      "16"
      udDataType	      "sfix(16)"
      fracBitsMode	      "Best precision"
      numFracBits	      "14"
      ResetState	      "Restart at time zero"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum3"
      Ports		      [2, 1]
      Position		      [340, 95, 370, 125]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      Port {
	PortNumber		1
	Name			"Prediction\nerror"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum4"
      Ports		      [2, 1]
      Position		      [105, 155, 135, 185]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "+-|"
      Port {
	PortNumber		1
	Name			"Input signal"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Line {
      Name		      "Input signal"
      SrcBlock		      "Sum4"
      SrcPort		      1
      Points		      [0, 0; 15, 0]
      Branch {
	Labels			[2, 0]
	Points			[0, -95; 275, 0]
	DstBlock		"Results"
	DstPort			1
      }
      Branch {
	DstBlock		"Integer Delay"
	DstPort			1
      }
    }
    Line {
      Labels		      [0, 0]
      SrcBlock		      "Measurement\nNoise"
      SrcPort		      1
      DstBlock		      "Sum4"
      DstPort		      2
    }
    Line {
      SrcBlock		      "LMS\nAdaptive Filter"
      SrcPort		      2
      DstBlock		      "Flip"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Integer Delay"
      SrcPort		      1
      DstBlock		      "LMS\nAdaptive Filter"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sine Wave"
      SrcPort		      1
      Points		      [0, 0; 45, 0]
      Branch {
	DstBlock		"Sum3"
	DstPort			1
      }
      Branch {
	DstBlock		"Sum4"
	DstPort			1
      }
    }
    Line {
      Name		      "Prediction"
      Labels		      [0, 0]
      SrcBlock		      "LMS\nAdaptive Filter"
      SrcPort		      1
      Points		      [0, 0; 10, 0]
      Branch {
	Labels			[1, 0]
	Points			[75, 0]
	DstBlock		"Results"
	DstPort			3
      }
      Branch {
	DstBlock		"Sum3"
	DstPort			2
      }
    }
    Line {
      Name		      "Prediction\nerror"
      Labels		      [0, 0]
      SrcBlock		      "Sum3"
      SrcPort		      1
      Points		      [0, 0; 15, 0]
      Branch {
	DstBlock		"Results"
	DstPort			2
      }
      Branch {
	Points			[0, -25; -150, 0]
	DstBlock		"LMS\nAdaptive Filter"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Flip"
      SrcPort		      1
      DstBlock		      "Predictor\nCoefficients"
      DstPort		      1
    }
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -