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

📄 hbasetx.mdl

📁 有关OFDM信道估计的matlab程序(其中包含英文简介和部分simulink模型)
💻 MDL
📖 第 1 页 / 共 3 页
字号:
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      System {
	Name			"Transmitter"
	Location		[271, 174, 756, 310]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "In"
	  Position		  [25, 53, 55, 67]
	  Port			  "1"
	  Interpolate		  on
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "4B5B\nEncoder"
	  Ports			  [1, 1]
	  Position		  [90, 26, 170, 94]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  RTWSystemCode		  "Auto"
	  RTWFcnNameOpts	  "Auto"
	  RTWFileNameOpts	  "Auto"
	  System {
	    Name		    "4B5B\nEncoder"
	    Location		    [118, 184, 753, 295]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "automatic"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "Bit\nIn"
	      Position		      [25, 43, 55, 57]
	      Port		      "1"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Buffer"
	      Ports		      [1, 1]
	      Position		      [80, 25, 130, 75]
	      SourceBlock	      "dspbuff3/Buffer"
	      SourceType	      "Buffer"
	      N			      "4"
	      V			      "0"
	      ic		      "0"
	    }
	    Block {
	      BlockType		      Demux
	      Name		      "Demux"
	      Ports		      [1, 4]
	      Position		      [250, 25, 255, 75]
	      BackgroundColor	      "black"
	      ShowName		      off
	      Outputs		      "4"
	      BusSelectionMode	      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Frame Status\nConversion"
	      Ports		      [1, 1]
	      Position		      [165, 34, 215, 66]
	      SourceBlock	      "dspsigattribs/Frame Status\nConversion"
	      SourceType	      "Frame Status Conversion"
	      growRefPort	      off
	      outframe		      "Sample-based"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Frame Status\nConversion1"
	      Ports		      [1, 1]
	      Position		      [395, 34, 445, 66]
	      SourceBlock	      "dspsigattribs/Frame Status\nConversion"
	      SourceType	      "Frame Status Conversion"
	      growRefPort	      off
	      outframe		      "Frame-based"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "LookUp\nTable"
	      Ports		      [4, 1]
	      Position		      [300, 26, 355, 74]
	      ShowPortLabels	      on
	      TreatAsAtomicUnit	      off
	      RTWSystemCode	      "Auto"
	      RTWFcnNameOpts	      "Auto"
	      RTWFileNameOpts	      "Auto"
	      System {
		Name			"LookUp\nTable"
		Location		[137, 74, 847, 222]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"automatic"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		AutoZoom		on
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [45, 33, 75, 47]
		  Port			  "1"
		  Interpolate		  on
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [45, 58, 75, 72]
		  Port			  "2"
		  Interpolate		  on
		}
		Block {
		  BlockType		  Inport
		  Name			  "In3"
		  Position		  [45, 83, 75, 97]
		  Port			  "3"
		  Interpolate		  on
		}
		Block {
		  BlockType		  Inport
		  Name			  "In4"
		  Position		  [45, 108, 75, 122]
		  Port			  "4"
		  Interpolate		  on
		}
		Block {
		  BlockType		  Reference
		  Name			  "Bit to Integer\nConverter"
		  Ports			  [1, 1]
		  Position		  [135, 58, 215, 102]
		  SourceBlock		  "commutil2/Bit to Integer\nConverter"
		  SourceType		  "Bit to Integer Converter"
		  nbits			  "4"
		}
		Block {
		  BlockType		  Mux
		  Name			  "Mux"
		  Ports			  [4, 1]
		  Position		  [105, 24, 110, 131]
		  ShowName		  off
		  Inputs		  "4"
		  DisplayOption		  "bar"
		}
		Block {
		  BlockType		  Reference
		  Name			  "T6Table1"
		  Ports			  [1, 1]
		  Position		  [265, 52, 320, 108]
		  SourceBlock		  "simulink3/Functions\n& Tables/Direc"
"t Look-Up\nTable (n-D)"
		  SourceType		  "LookupNDDirect"
		  maskTabDims		  "2"
		  explicitNumDims	  "1"
		  outDims		  "Column"
		  tabIsInput		  off
		  mxTable		  "[1 1 1 1 0; 0 1 0 0 1; 1 0 1 0 0; 1"
" 0 1 0 1; 0 1 0 1 0; 0 1 0 1 1; 0 1 1 1 0; 0 1 1 1 1; 1 0 0 1 0; 1 0 0 1 1; 1"
" 0 1 1 0; 1 0 1 1 1; 1 1 0 1 0; 1 1 0 1 1; 1 1 1 0 0; 1 1 1 0 1]'"
		  clipFlag		  "Warning"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out"
		  Position		  [350, 73, 380, 87]
		  Port			  "1"
		  OutputWhenDisabled	  "held"
		  InitialOutput		  "[]"
		}
		Line {
		  SrcBlock		  "Mux"
		  SrcPort		  1
		  DstBlock		  "Bit to Integer\nConverter"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "T6Table1"
		  SrcPort		  1
		  DstBlock		  "Out"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Bit to Integer\nConverter"
		  SrcPort		  1
		  DstBlock		  "T6Table1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In4"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  4
		}
		Line {
		  SrcBlock		  "In3"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "In2"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Unbuffer"
	      Ports		      [1, 1]
	      Position		      [485, 26, 535, 74]
	      SourceBlock	      "dspbuff3/Unbuffer"
	      SourceType	      "Unbuffer"
	      ic		      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Bit\nOut"
	      Position		      [585, 43, 615, 57]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "Bit\nIn"
	      SrcPort		      1
	      DstBlock		      "Buffer"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Unbuffer"
	      SrcPort		      1
	      DstBlock		      "Bit\nOut"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "LookUp\nTable"
	      SrcPort		      1
	      DstBlock		      "Frame Status\nConversion1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Demux"
	      SrcPort		      1
	      DstBlock		      "LookUp\nTable"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Demux"
	      SrcPort		      2
	      DstBlock		      "LookUp\nTable"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Demux"
	      SrcPort		      3
	      DstBlock		      "LookUp\nTable"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Demux"
	      SrcPort		      4
	      DstBlock		      "LookUp\nTable"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "Buffer"
	      SrcPort		      1
	      DstBlock		      "Frame Status\nConversion"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Frame Status\nConversion"
	      SrcPort		      1
	      DstBlock		      "Demux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Frame Status\nConversion1"
	      SrcPort		      1
	      DstBlock		      "Unbuffer"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [180, 80, 210, 110]
	  Value			  "1"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  Reference
	  Name			  "Data/Idle"
	  Ports			  [2, 1]
	  Position		  [245, 52, 275, 88]
	  SourceBlock		  "simulink3/Nonlinear/Manual Switch"
	  SourceType		  "Manual Switch"
	  sw			  "1"
	  action		  "0"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "MLT-3\nEncoder"
	  Ports			  [1, 1]
	  Position		  [325, 36, 405, 104]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  RTWSystemCode		  "Auto"
	  RTWFcnNameOpts	  "Auto"
	  RTWFileNameOpts	  "Auto"
	  System {
	    Name		    "MLT-3\nEncoder"
	    Location		    [226, 167, 811, 363]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "automatic"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "Bit\nIn"
	      Position		      [40, 118, 70, 132]
	      Port		      "1"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [105, 125, 135, 155]
	      Value		      "1"
	      VectorParams1D	      on
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "D Flip-Flop"
	      Ports		      [3, 2]
	      Position		      [185, 37, 230, 113]
	      SourceBlock	      "simulink_extras/Flip Flops/D Flip-Flop"
	      SourceType	      "DFlipFlop"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "D Flip-Flop1"
	      Ports		      [3, 2]
	      Position		      [310, 92, 355, 168]
	      SourceBlock	      "simulink_extras/Flip Flops/D Flip-Flop"
	      SourceType	      "DFlipFlop"
	    }
	    Block {
	      BlockType		      DiscretePulseGenerator
	      Name		      "Discrete Pulse\nGenerator"
	      Position		      [40, 50, 70, 80]
	      Amplitude		      "1"
	      Period		      "2"
	      PulseWidth	      "1"
	      PhaseDelay	      "0"
	      SampleTime	      "1/250e6"
	      VectorParams1D	      on
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [420, 120, 450, 150]
	      Gain		      "-1"
	      Multiplication	      "Element-wise(K.*u)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Logic
	      Name		      "Logical\nOperator2"
	      Ports		      [2, 1]
	      Position		      [110, 57, 140, 88]
	      Operator		      "AND"
	      Inputs		      "2"
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch"
	      Position		      [475, 95, 505, 125]
	      Threshold		      "0.5"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Bit\nOut"
	      Position		      [540, 103, 570, 117]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "D Flip-Flop"
	      SrcPort		      2
	      Points		      [20, 0; 0, -75; -95, 0; 0, 30]
	      DstBlock		      "D Flip-Flop"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "D Flip-Flop"
	      SrcPort		      1
	      Points		      [0, 0; 45, 0]
	      Branch {
		Points			[0, 75]
		DstBlock		"D Flip-Flop1"
		DstPort			2
	      }
	      Branch {
		Points			[115, 0; 0, 45]
		Branch {
		  DstBlock		  "Switch"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 35]
		  DstBlock		  "Gain"
		  DstPort		  1
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [0, 0; 10, 0]
	      Branch {
		Points			[0, -40]
		DstBlock		"D Flip-Flop"
		DstPort			3
	      }
	      Branch {
		Points			[0, 15]
		DstBlock		"D Flip-Flop1"
		DstPort			3
	      }
	    }
	    Line {
	      SrcBlock		      "Bit\nIn"
	      SrcPort		      1
	      Points		      [20, 0]
	      DstBlock		      "Logical\nOperator2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Logical\nOperator2"
	      SrcPort		      1
	      DstBlock		      "D Flip-Flop"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Discrete Pulse\nGenerator"
	      SrcPort		      1
	      DstBlock		      "Logical\nOperator2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "D Flip-Flop1"
	      SrcPort		      1
	      DstBlock		      "Switch"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "D Flip-Flop1"
	      SrcPort		      2
	      Points		      [10, 0; 0, -75; -75, 0]
	      DstBlock		      "D Flip-Flop1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Switch"
	      SrcPort		      1
	      DstBlock		      "Bit\nOut"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "Switch"
	      DstPort		      3
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out"
	  Position		  [430, 63, 460, 77]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [5, 0; 0, -15]
	  DstBlock		  "Data/Idle"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "4B5B\nEncoder"
	  SrcPort		  1
	  DstBlock		  "Data/Idle"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data/Idle"
	  SrcPort		  1
	  DstBlock		  "MLT-3\nEncoder"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In"
	  SrcPort		  1
	  DstBlock		  "4B5B\nEncoder"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "MLT-3\nEncoder"
	  SrcPort		  1
	  DstBlock		  "Out"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Binary Vector\nNoise Generator"
      SrcPort		      1
      Points		      [0, 0; 25, 0]
      Branch {
	Points			[0, 60]
	DstBlock		"Scope1"
	DstPort			1
      }
      Branch {
	DstBlock		"Transmitter"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Transmitter"
      SrcPort		      1
      Points		      [0, 0; 30, 0]
      Branch {
	Points			[0, 65]
	DstBlock		"Scope2"
	DstPort			1
      }
      Branch {
	DstBlock		"Channel"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Channel"
      SrcPort		      1
      DstBlock		      "Receiver"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Receiver"
      SrcPort		      1
      DstBlock		      "Scope3"
      DstPort		      1
    }
  }
}

⌨️ 快捷键说明

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