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

📄 cofdm.mdl

📁 ofdm 仿真 信道仿真 检测 估计
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  BlockType		  Reference
	  Name			  "Rectangular QAM\nModulator\nBaseband"
	  Ports			  [1, 1]
	  Position		  [70, 24, 145, 76]
	  SourceBlock		  "commdigbbndam2/Rectangular QAM\nModulator\n"
"Baseband"
	  SourceType		  "Rectangular QAM Modulator Baseband"
	  M			  "16"
	  InType		  "Bit"
	  Enc			  "Gray"
	  PowType		  "Min. distance between symbols"
	  MinDist		  "2"
	  AvgPow		  "1"
	  PeakPow		  "1"
	  Ph			  "0"
	  numSamp		  "1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [265, 43, 295, 57]
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [0, 15]
	  DstBlock		  "Rectangular QAM\nModulator\nBaseband"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Rectangular QAM\nModulator\nBaseband"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "AWGN\nChannel"
      Ports		      [1, 1]
      Position		      [890, 290, 970, 330]
      Orientation	      "down"
      BackgroundColor	      "orange"
      NamePlacement	      "alternate"
      ShowName		      off
      SourceBlock	      "commchan2/AWGN\nChannel"
      SourceType	      "AWGN Channel"
      seed		      "32965"
      noiseMode		      "Signal to noise ratio  (Es/No)"
      EsNodB		      "28"
      SNRdB		      "10"
      Ps		      "30/(11e5*11/15*2.4)*1.08"
      Tsym		      "80e-6"
      variance		      "1"
    }
    Block {
      BlockType		      SubSystem
      Name		      "BER\nCalculation"
      Ports		      [2, 1]
      Position		      [270, 234, 355, 296]
      BackgroundColor	      "cyan"
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('BER\\nCalculation');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"BER\nCalculation"
	Location		[2, 82, 989, 722]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 43, 55, 57]
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [30, 128, 60, 142]
	  Port			  "2"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Error Rate\nCalculation"
	  Ports			  [2, 1]
	  Position		  [235, 57, 310, 108]
	  SourceBlock		  "commsink2/Error Rate\nCalculation"
	  SourceType		  "Error Rate Calculation"
	  N			  "22"
	  st_delay		  "0"
	  cp_mode		  "Entire frame"
	  subframe		  "[]"
	  PMode			  "Port"
	  WsName		  "ErrorVec"
	  RsMode2		  off
	  stop			  on
	  numErr		  "100"
	  maxBits		  "1e6"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Rectangular QAM\nModulator\nBaseband"
	  Ports			  [1, 1]
	  Position		  [80, 109, 155, 161]
	  SourceBlock		  "commdigbbndam2/Rectangular QAM\nModulator\n"
"Baseband"
	  SourceType		  "Rectangular QAM Modulator Baseband"
	  M			  "16"
	  InType		  "Bit"
	  Enc			  "Gray"
	  PowType		  "Min. distance between symbols"
	  MinDist		  "2"
	  AvgPow		  "1"
	  PeakPow		  "1"
	  Ph			  "0"
	  numSamp		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Rectangular QAM\nModulator\nBaseband1"
	  Ports			  [1, 1]
	  Position		  [85, 24, 160, 76]
	  SourceBlock		  "commdigbbndam2/Rectangular QAM\nModulator\n"
"Baseband"
	  SourceType		  "Rectangular QAM Modulator Baseband"
	  M			  "16"
	  InType		  "Bit"
	  Enc			  "Gray"
	  PowType		  "Min. distance between symbols"
	  MinDist		  "2"
	  AvgPow		  "1"
	  PeakPow		  "1"
	  Ph			  "0"
	  numSamp		  "1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [335, 78, 365, 92]
	}
	Line {
	  SrcBlock		  "Rectangular QAM\nModulator\nBaseband1"
	  SrcPort		  1
	  Points		  [30, 0; 0, 20]
	  DstBlock		  "Error Rate\nCalculation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Rectangular QAM\nModulator\nBaseband"
	  SrcPort		  1
	  Points		  [30, 0; 0, -40]
	  DstBlock		  "Error Rate\nCalculation"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Rectangular QAM\nModulator\nBaseband1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Error Rate\nCalculation"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "Rectangular QAM\nModulator\nBaseband"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Bernoulli Binary\nGenerator"
      Ports		      [0, 1]
      Position		      [15, 126, 105, 184]
      BackgroundColor	      "lightBlue"
      ShowName		      off
      FontName		      "Arial"
      SourceBlock	      "commrandsrc2/Bernoulli Binary\nGenerator"
      SourceType	      "Bernoulli Binary Generator"
      P			      "0.5"
      seed		      "93"
      Ts		      "16e-5/88/2"
      frameBased	      on
      sampPerFrame	      "88"
      orient		      off
    }
    Block {
      BlockType		      SubSystem
      Name		      "Channel \nCompensation"
      Ports		      [2, 1]
      Position		      [435, 343, 510, 407]
      Orientation	      "left"
      BackgroundColor	      "lightBlue"
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('Channel\\nCompensation');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Channel \nCompensation"
	Location		[2, 82, 989, 722]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [260, 38, 290, 52]
	  Orientation		  "left"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [260, 53, 290, 67]
	  Orientation		  "left"
	  Port			  "2"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion"
	  Ports			  [1, 1]
	  Position		  [80, 27, 130, 63]
	  Orientation		  "left"
	  SourceBlock		  "dspsigattribs/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  growRefPort		  off
	  outframe		  "Frame-based"
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto"
	  Position		  [360, 61, 475, 99]
	  GotoTag		  "constellation_before"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [190, 36, 235, 69]
	  Orientation		  "left"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector2"
	  Ports			  [1, 1]
	  Position		  [265, 86, 305, 124]
	  ShowName		  off
	  InputType		  "Matrix"
	  Elements		  "[1:15,17:31]"
	  Rows			  "[1:15,17:31]"
	  Columns		  "-1"
	  InputPortWidth	  "31"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [25, 38, 55, 52]
	  Orientation		  "left"
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  Points		  [-20, 0; 0, -10]
	  DstBlock		  "Frame Status\nConversion"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Frame Status\nConversion"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Product1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  Points		  [-5, 0]
	  Branch {
	    DstBlock		    "Selector2"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Product1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Selector2"
	  SrcPort		  1
	  Points		  [0, -25]
	  DstBlock		  "Goto"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Channel \nEstimation"
      Ports		      [1, 1]
      Position		      [530, 403, 585, 457]
      Orientation	      "left"
      BackgroundColor	      "red"
      NamePlacement	      "alternate"
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('Channel\\nEstimator');\n"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Channel \nEstimation"
	Location		[100, 390, 610, 582]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [355, 133, 385, 147]
	  Orientation		  "left"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion2"
	  Ports			  [1, 1]
	  Position		  [215, 119, 255, 151]
	  Orientation		  "left"
	  ShowName		  off
	  SourceBlock		  "dspsigattribs/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  growRefPort		  off
	  outframe		  "Frame-based"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion4"
	  Ports			  [1, 1]
	  Position		  [80, 119, 120, 151]
	  Orientation		  "left"
	  SourceBlock		  "dspsigattribs/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  growRefPort		  off
	  outframe		  "Frame-based"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [285, 116, 330, 149]
	  Orientation		  "left"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Step
	  Name			  "Step2"
	  Position		  [455, 25, 485, 55]
	  Orientation		  "left"
	  Time			  "16e-5/2"
	  SampleTime		  "16e-5/2"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem6"
	  Ports			  [1, 1, 1]
	  Position		  [155, 105, 195, 165]
	  Orientation		  "left"
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "Subsystem6"
	    Location		    [273, 500, 520, 633]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [155, 68, 185, 82]
	      Orientation	      "left"
	    }
	    Block {
	      BlockType		      EnablePort
	      Name		      "Enable"
	      Ports		      []
	      Position		      [105, 15, 125, 35]
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction"
	      Ports		      [1, 1]
	      Position		      [100, 60, 130, 90]
	      Orientation	      "left"
	      Operator		      "reciprocal"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [45, 68, 75, 82]
	      Orientation	      "left"
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Math\nFunction"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Math\nFunction"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem8"
	  Ports			  [0, 1, 1]
	  Position		  [390, 65, 430, 125]
	  Orientation		  "left"
	  TreatAsAtomicUnit	  on
	  System {
	    Name		    "Subsystem8"
	    Location		    [2, 82, 418, 259]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      EnablePort
	      Name		      "Enable"
	      Ports		      []
	      Position		      [130, 20, 150, 40]
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Frame Status\nConversion2"
	      Ports		      [1, 1]
	      Position		      [80, 74, 120, 106]
	      Orientation	      "left"
	      ShowName		      off
	      SourceBlock	      "dspsigattribs/Frame Status\nConversion"
	      SourceType	      "Frame Status Conversion"
	      growRefPort	      off
	      outframe		      "Frame-based"
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction"
	      Ports		      [1, 1]
	      Position		      [185, 75, 215, 105]
	      Orientation	      "left"
	      Operator		      "reciprocal"
	    }
	    Block {
	      BlockType		      Reference

⌨️ 快捷键说明

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