9tap_equalizer.mdl

来自「这个是9阶的lms自适应均衡器simulink」· MDL 代码 · 共 2,466 行 · 第 1/5 页

MDL
2,466
字号
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [202, 150, 233, 180]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product2"
	  Ports			  [2, 1]
	  Position		  [287, 150, 318, 180]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product3"
	  Ports			  [2, 1]
	  Position		  [372, 150, 403, 180]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product4"
	  Ports			  [2, 1]
	  Position		  [457, 150, 488, 180]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product5"
	  Ports			  [2, 1]
	  Position		  [542, 150, 573, 180]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product6"
	  Ports			  [2, 1]
	  Position		  [627, 150, 658, 180]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product7"
	  Ports			  [2, 1]
	  Position		  [712, 150, 743, 180]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product8"
	  Ports			  [2, 1]
	  Position		  [797, 150, 828, 180]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay1"
	  Position		  [175, 28, 210, 62]
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay2"
	  Position		  [260, 28, 295, 62]
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay3"
	  Position		  [340, 28, 375, 62]
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay4"
	  Position		  [425, 28, 460, 62]
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay5"
	  Position		  [510, 28, 545, 62]
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay6"
	  Position		  [590, 28, 625, 62]
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay7"
	  Position		  [675, 28, 710, 62]
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay8"
	  Position		  [760, 28, 795, 62]
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "Zero-Order\nHold1"
	  Position		  [535, 265, 570, 295]
	  SampleTime		  "1/10"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [595, 273, 625, 287]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Unit Delay1"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    DstBlock		    "Unit Delay2"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Product1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Unit Delay2"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Unit Delay3"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 90]
	    DstBlock		    "Product2"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Unit Delay3"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Unit Delay4"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Product3"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Unit Delay4"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Unit Delay5"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Product4"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Unit Delay5"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Unit Delay6"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Product5"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Unit Delay6"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    DstBlock		    "Unit Delay7"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Product6"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Unit Delay7"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    DstBlock		    "Unit Delay8"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Product7"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  DstBlock		  "Product1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "Product2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant3"
	  SrcPort		  1
	  Points		  [0, 25]
	  DstBlock		  "Product3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant5"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "Product4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant4"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "Product5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant6"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "Product6"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant7"
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "Product7"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant8"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "Product8"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Unit Delay8"
	  SrcPort		  1
	  Points		  [20, 0]
	  DstBlock		  "Product8"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [80, 0]
	  Branch {
	    DstBlock		    "Unit Delay1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Product"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Add"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  DstBlock		  "Add"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product2"
	  SrcPort		  1
	  DstBlock		  "Add"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Product3"
	  SrcPort		  1
	  DstBlock		  "Add"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Product4"
	  SrcPort		  1
	  DstBlock		  "Add"
	  DstPort		  5
	}
	Line {
	  SrcBlock		  "Product5"
	  SrcPort		  1
	  DstBlock		  "Add"
	  DstPort		  6
	}
	Line {
	  SrcBlock		  "Product6"
	  SrcPort		  1
	  DstBlock		  "Add"
	  DstPort		  7
	}
	Line {
	  SrcBlock		  "Product7"
	  SrcPort		  1
	  DstBlock		  "Add"
	  DstPort		  8
	}
	Line {
	  SrcBlock		  "Product8"
	  SrcPort		  1
	  DstBlock		  "Add"
	  DstPort		  9
	}
	Line {
	  SrcBlock		  "Add"
	  SrcPort		  1
	  Points		  [0, 30]
	  DstBlock		  "Zero-Order\nHold1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Zero-Order\nHold1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Annotation {
	  Position		  [730, 211]
	  UseDisplayTextAsClickCallback	off
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "9Taps"
      Ports		      [1]
      Position		      [1080, 407, 1110, 443]
      Floating		      off
      Location		      [219, 230, 853, 616]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "1"
      YMin		      "-0.5"
      YMax		      "1.5"
      DataFormat	      "StructureWithTime"
      MaxDataPoints	      "10"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "AFTER8"
      Tag		      "ScatterPlot"
      Ports		      [1]
      Position		      [965, 130, 1010, 180]
      SourceBlock	      "commsink2/Discrete-Time\nScatter Plot\nScope"
      SourceType	      "Discrete-Time Scatter Plot Scope"
      ShowPortLabels	      on
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      sampPerSymb	      "1"
      offsetEye		      "0"
      numTraces		      "60"
      numNewFrames	      "20"
      LineMarkers	      "x"
      LineColors	      "b"
      fading		      on
      render		      on
      AxisGrid		      on
      xMin		      "-1.75"
      xMax		      "1.75"
      yMin		      "-1.75"
      yMax		      "1.75"
      inphaseLabel	      "In-phase Amplitude"
      quadratureLabel	      "Quadrature Amplitude"
      openScopeAtSimStart     on
      FrameNumber	      off
      FigPos		      "[25 113 421 421]"
      figTitle		      "Scatter Plot"
      numLinesMax	      "8"
      block_type_	      "scatter"
    }
    Block {
      BlockType		      Reference
      Name		      "AWGN\nChannel"
      Ports		      [1, 1]
      Position		      [415, 256, 475, 284]
      SourceBlock	      "commchan3/AWGN\nChannel"
      SourceType	      "AWGN Channel"
      ShowPortLabels	      on
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      seed		      "67124"
      noiseMode		      "Signal to noise ratio  (Es/No)"
      EbNodB		      "10"
      EsNodB		      "12"
      SNRdB		      "10"
      bitsPerSym	      "1"
      Ps		      "1"
      Tsym		      "1"
      variance		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "BEFORE"
      Tag		      "ScatterPlot"
      Ports		      [1]
      Position		      [965, 65, 1010, 115]
      NamePlacement	      "alternate"
      SourceBlock	      "commsink2/Discrete-Time\nScatter Plot\nScope"
      SourceType	      "Discrete-Time Scatter Plot Scope"
      ShowPortLabels	      on
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      sampPerSymb	      "1"
      offsetEye		      "0"
      numTraces		      "60"
      numNewFrames	      "20"
      LineMarkers	      "x"
      LineColors	      "b"
      fading		      on
      render		      on
      AxisGrid		      on
      xMin		      "-1.75"
      xMax		      "1.75"
      yMin		      "-1.75"
      yMax		      "1.75"
      inphaseLabel	      "In-phase Amplitude"
      quadratureLabel	      "Quadrature Amplitude"
      openScopeAtSimStart     on
      FrameNumber	      off
      FigPos		      "[26 563 418 418]"
      figTitle		      "Scatter Plot"
      numLinesMax	      "8"
      block_type_	      "scatter"
    }
    Block {
      BlockType		      Reference

⌨️ 快捷键说明

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