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

📄 ofdm_gito.mdl

📁 学习OFDM系统仿真的好例子
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  SrcBlock		  "Frame Status\nConversion"
	  SrcPort		  1
	  DstBlock		  "Multiport\nSelector"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Multiport\nSelector"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Multiport\nSelector"
	  SrcPort		  2
	  DstBlock		  "Out2"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem10"
      Ports		      [1, 1]
      Position		      [400, 411, 455, 459]
      Orientation	      "left"
      ShowName		      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskDisplay	      "disp('Remove\\nZero')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Subsystem10"
	Location		[227, 463, 527, 671]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.196850, 0.196850, 0.196850, 0.196850]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [145, 38, 175, 52]
	  Orientation		  "left"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto2"
	  Position		  [145, 80, 230, 100]
	  ShowName		  off
	  GotoTag		  "konstelasi_stl"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector2"
	  Ports			  [1, 1]
	  Position		  [80, 26, 120, 64]
	  Orientation		  "left"
	  ShowName		  off
	  NumberOfDimensions	  "2"
	  IndexOptions		  "Index vector (dialog),Select all"
	  Indices		  "[1:15,17:31],-1"
	  OutputSizes		  "1"
	  InputPortWidth	  "31"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [25, 38, 55, 52]
	  Orientation		  "left"
	  IconDisplay		  "Port number"
	}
	Line {
	  SrcBlock		  "Selector2"
	  SrcPort		  1
	  Points		  [-5, 0]
	  Branch {
	    DstBlock		    "Out1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 45]
	    DstBlock		    "Goto2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Selector2"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem11"
      Ports		      [1, 1]
      Position		      [135, 190, 235, 240]
      ShowName		      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskDisplay	      "disp('RS(15,11) Encoder')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Subsystem11"
	Location		[77, 218, 327, 314]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.196850, 0.196850, 0.196850, 0.196850]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 43, 55, 57]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Binary-Input\nRS Encoder"
	  Ports			  [1, 1]
	  Position		  [90, 28, 170, 72]
	  ShowName		  off
	  SourceBlock		  "commblkcod2/Binary-Input\nRS Encoder"
	  SourceType		  "Binary-Input RS Encoder"
	  n			  "15"
	  k			  "11"
	  specPrimPoly		  "off"
	  primPoly		  "[1 0 1 1]"
	  specGenPoly		  "off"
	  genPoly		  "rsgenpoly(7,3)"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [195, 43, 225, 57]
	  IconDisplay		  "Port number"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Binary-Input\nRS Encoder"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Binary-Input\nRS Encoder"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem12"
      Ports		      [1, 1]
      Position		      [125, 407, 220, 463]
      Orientation	      "left"
      ShowName		      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskDisplay	      "disp('RS(15,11) Decoder')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Subsystem12"
	Location		[485, 379, 725, 533]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.196850, 0.196850, 0.196850, 0.196850]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [185, 43, 215, 57]
	  Orientation		  "left"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Binary-Output\nRS Decoder"
	  Ports			  [1, 2]
	  Position		  [80, 28, 160, 72]
	  Orientation		  "left"
	  ShowName		  off
	  SourceBlock		  "commblkcod2/Binary-Output\nRS Decoder"
	  SourceType		  "Binary-Output RS Decoder"
	  n			  "15"
	  k			  "11"
	  specPrimPoly		  "off"
	  primPoly		  "[1 0 1 1]"
	  specGenPoly		  "off"
	  genPoly		  "rsgenpoly(7,3)"
	  showNumErr		  "on"
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator"
	  Position		  [90, 110, 110, 130]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [25, 33, 55, 47]
	  Orientation		  "left"
	  IconDisplay		  "Port number"
	}
	Line {
	  SrcBlock		  "Binary-Output\nRS Decoder"
	  SrcPort		  2
	  Points		  [-10, 0; 0, 60]
	  DstBlock		  "Terminator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Binary-Output\nRS Decoder"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Binary-Output\nRS Decoder"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem13"
      Ports		      [0, 1]
      Position		      [340, 135, 390, 175]
      ShowName		      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskDisplay	      "disp('Training')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Subsystem13"
	Location		[232, 120, 599, 240]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.196850, 0.196850, 0.196850, 0.196850]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "PN Sequence\nGenerator"
	  Ports			  [0, 1]
	  Position		  [25, 23, 105, 67]
	  SourceBlock		  "commseqgen2/PN Sequence\nGenerator"
	  SourceType		  "PN Sequence Generator"
	  poly			  "[1 0 0 0 0 1 1]"
	  ini_sta		  "[0 0 0 0 0 1]"
	  shift			  "0"
	  Ts			  "16e-5/2/31"
	  frameBased		  "on"
	  sampPerFrame		  "31"
	  reset			  "off"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Unipolar to\nBipolar\nConverter"
	  Ports			  [1, 1]
	  Position		  [135, 21, 215, 69]
	  SourceBlock		  "commutil2/Unipolar to\nBipolar\nConverter"
	  SourceType		  "Unipolar to Bipolar Converter"
	  M			  "2"
	  polarity		  "Positive"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [260, 38, 290, 52]
	  IconDisplay		  "Port number"
	}
	Line {
	  SrcBlock		  "PN Sequence\nGenerator"
	  SrcPort		  1
	  DstBlock		  "Unipolar to\nBipolar\nConverter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Unipolar to\nBipolar\nConverter"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem14"
      Ports		      [2, 1]
      Position		      [130, 291, 190, 344]
      ShowName		      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskDisplay	      "disp('SER\\nCalculation')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Subsystem14"
	Location		[44, 275, 337, 585]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.196850, 0.196850, 0.196850, 0.196850]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [50, 25, 80, 40]
	  Orientation		  "down"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [50, 270, 80, 285]
	  Orientation		  "up"
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Error Rate Calculation"
	  Ports			  [2, 1]
	  Position		  [130, 126, 215, 179]
	  ShowName		  off
	  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			  "off"
	  numErr		  "inf"
	  maxBits		  "2e4"
	}
	Block {
	  BlockType		  Reference
	  Name			  "QPSK\nModulator\nBaseband1"
	  Ports			  [1, 1]
	  Position		  [27, 75, 103, 125]
	  Orientation		  "down"
	  ShowName		  off
	  SourceBlock		  "commdigbbndpm2/QPSK\nModulator\nBaseband"
	  SourceType		  "QPSK Modulator Baseband"
	  InType		  "Bit"
	  Enc			  "Gray"
	  Ph			  "pi/4"
	  numSamp		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "QPSK\nModulator\nBaseband2"
	  Ports			  [1, 1]
	  Position		  [27, 195, 103, 245]
	  Orientation		  "up"
	  ShowName		  off
	  SourceBlock		  "commdigbbndpm2/QPSK\nModulator\nBaseband"
	  SourceType		  "QPSK Modulator Baseband"
	  InType		  "Bit"
	  Enc			  "Gray"
	  Ph			  "pi/4"
	  numSamp		  "1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [240, 148, 270, 162]
	  IconDisplay		  "Port number"
	}
	Line {
	  SrcBlock		  "QPSK\nModulator\nBaseband1"
	  SrcPort		  1
	  Points		  [0, 10]
	  DstBlock		  "Error Rate Calculation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "QPSK\nModulator\nBaseband2"
	  SrcPort		  1
	  Points		  [0, -25]
	  DstBlock		  "Error Rate Calculation"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "QPSK\nModulator\nBaseband1"
	  DstPort		  1
	}
	L

⌨️ 快捷键说明

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