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

📄 ieee80211a.mdl

📁 正交频分复用系统授课的MATLAB程序仿真
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      vector		      "params.nS.'"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "enable"
	      Position		      [325, 43, 355, 57]
	    }
	    Line {
	      Labels		      [1, 0]
	      SrcBlock		      "slot size"
	      SrcPort		      1
	      DstBlock		      "Relational Operator1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      DstBlock		      "Relational Operator1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Relational Operator1"
	      SrcPort		      1
	      DstBlock		      "Unbuffer"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Unbuffer"
	      SrcPort		      1
	      DstBlock		      "enable"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "mode"
	      SrcPort		      1
	      DstBlock		      "slot size"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "tx bits"
	  Position		  [385, 63, 415, 77]
	}
	Line {
	  SrcBlock		  "Binary source"
	  SrcPort		  1
	  DstBlock		  "Buffer"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Buffer"
	  SrcPort		  1
	  DstBlock		  "tx bits"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "mode"
	  SrcPort		  1
	  DstBlock		  "Source enable"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Source enable"
	  SrcPort		  1
	  Points		  [45, 0]
	  DstBlock		  "Binary source"
	  DstPort		  enable
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Demodulator"
      Ports		      [2, 2]
      Position		      [230, 333, 310, 382]
      Orientation	      "left"
      BackgroundColor	      "lightBlue"
      DropShadow	      on
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskType		      "IEEE 802.11a demodulator-decoder bank."
      MaskPromptString	      "Number of symbols per frame:|vtbd set"
      MaskStyleString	      "edit,edit"
      MaskTunableValueString  "off,off"
      MaskCallbackString      "|"
      MaskEnableString	      "on,on"
      MaskVisibilityString    "on,on"
      MaskToolTipString	      "on,on"
      MaskVarAliasString      ","
      MaskVariables	      "nSymbolsPerFrame=@1;vtbd_set=@2;"
      MaskInitialization      "numModulators = 8;\nmodulation = {'BPSK' 'BPSK'"
" 'QPSK' 'QPSK' '16-QAM' '16-QAM' '64-QAM' '64-QAM'};\ncode = {'1/2' '3/4' '1/"
"2' '3/4' '1/2' '3/4' '2/3' '3/4'};\n\n% modulation-specific\nTS1 = 'poly2trel"
"lis(7, [171 133])';\nTS2 = 'poly2trellis(7, [133 171])';\ntrellisStructure = "
"{TS1 TS1 TS1 TS1 TS1 TS1 TS2 TS2};\n\n% code-specific\nPV = {'[1]', '[1 1 1 0"
"].''', '[1 1 1 0 0 1].''', '[1]'};\npunctureVector = {PV{1} PV{3} PV{1} PV{3}"
" PV{1} PV{3} PV{2} PV{3}};\n\nfor n = 1:numModulators\n    blk = [gcb '/Demod"
"ulator ' num2str(n)];\n    set_param(blk, 'numSymbols', num2str(nSymbolsPerFr"
"ame));\n    set_param(blk, 'modulation', modulation{n});\n    set_param(blk, "
"'code', code{n});\n    set_param(blk, 'trellisStructure', trellisStructure{n}"
");\n    set_param(blk, 'punctureVector', punctureVector{n});\nend\n"
      MaskDisplay	      "disp('Demodulator\\nBank')\n\n"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "params.numTxSymbols|params.vtbd_set"
      System {
	Name			"Demodulator"
	Location		[174, 92, 966, 652]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "mode"
	  Position		  [40, 38, 70, 52]
	}
	Block {
	  BlockType		  Inport
	  Name			  "sig"
	  Position		  [40, 73, 70, 87]
	  Port			  "2"
	}
	Block {
	  BlockType		  Abs
	  Name			  "Abs"
	  Position		  [650, 290, 680, 320]
	  ForegroundColor	  "orange"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Demodulator 1"
	  Ports			  [1, 2, 1]
	  Position		  [215, 61, 310, 94]
	  ShowName		  off
	  SourceBlock		  "IEEE80211a_lib/Demodulator"
	  SourceType		  "QAM Demodulator-Decoder."
	  numSymbols		  "960"
	  modulation		  "BPSK"
	  code			  "1/2"
	  trellisStructure	  "poly2trellis(7, [171 133])"
	  punctureVector	  "[1]"
	  vtbd			  "34"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Demodulator 2"
	  Ports			  [1, 2, 1]
	  Position		  [215, 116, 310, 149]
	  ShowName		  off
	  SourceBlock		  "IEEE80211a_lib/Demodulator"
	  SourceType		  "QAM Demodulator-Decoder."
	  numSymbols		  "960"
	  modulation		  "BPSK"
	  code			  "3/4"
	  trellisStructure	  "poly2trellis(7, [171 133])"
	  punctureVector	  "[1 1 1 0 0 1].'"
	  vtbd			  "34"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Demodulator 3"
	  Ports			  [1, 2, 1]
	  Position		  [215, 171, 310, 204]
	  ShowName		  off
	  SourceBlock		  "IEEE80211a_lib/Demodulator"
	  SourceType		  "QAM Demodulator-Decoder."
	  numSymbols		  "960"
	  modulation		  "QPSK"
	  code			  "1/2"
	  trellisStructure	  "poly2trellis(7, [171 133])"
	  punctureVector	  "[1]"
	  vtbd			  "34"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Demodulator 4"
	  Ports			  [1, 2, 1]
	  Position		  [215, 226, 310, 259]
	  ShowName		  off
	  SourceBlock		  "IEEE80211a_lib/Demodulator"
	  SourceType		  "QAM Demodulator-Decoder."
	  numSymbols		  "960"
	  modulation		  "QPSK"
	  code			  "3/4"
	  trellisStructure	  "poly2trellis(7, [171 133])"
	  punctureVector	  "[1 1 1 0 0 1].'"
	  vtbd			  "34"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Demodulator 5"
	  Ports			  [1, 2, 1]
	  Position		  [215, 291, 310, 324]
	  ShowName		  off
	  SourceBlock		  "IEEE80211a_lib/Demodulator"
	  SourceType		  "QAM Demodulator-Decoder."
	  numSymbols		  "960"
	  modulation		  "16-QAM"
	  code			  "1/2"
	  trellisStructure	  "poly2trellis(7, [171 133])"
	  punctureVector	  "[1]"
	  vtbd			  "34"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Demodulator 6"
	  Ports			  [1, 2, 1]
	  Position		  [215, 351, 310, 384]
	  ShowName		  off
	  SourceBlock		  "IEEE80211a_lib/Demodulator"
	  SourceType		  "QAM Demodulator-Decoder."
	  numSymbols		  "960"
	  modulation		  "16-QAM"
	  code			  "3/4"
	  trellisStructure	  "poly2trellis(7, [171 133])"
	  punctureVector	  "[1 1 1 0 0 1].'"
	  vtbd			  "34"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Demodulator 7"
	  Ports			  [1, 2, 1]
	  Position		  [215, 411, 310, 444]
	  ShowName		  off
	  SourceBlock		  "IEEE80211a_lib/Demodulator"
	  SourceType		  "QAM Demodulator-Decoder."
	  numSymbols		  "960"
	  modulation		  "64-QAM"
	  code			  "2/3"
	  trellisStructure	  "poly2trellis(7, [133 171])"
	  punctureVector	  "[1 1 1 0].'"
	  vtbd			  "34"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Demodulator 8"
	  Ports			  [1, 2, 1]
	  Position		  [215, 481, 310, 514]
	  ShowName		  off
	  SourceBlock		  "IEEE80211a_lib/Demodulator"
	  SourceType		  "QAM Demodulator-Decoder."
	  numSymbols		  "960"
	  modulation		  "64-QAM"
	  code			  "3/4"
	  trellisStructure	  "poly2trellis(7, [133 171])"
	  punctureVector	  "[1 1 1 0 0 1].'"
	  vtbd			  "34"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [160, 92, 190, 108]
	  ShowName		  off
	  Expr			  "u==2"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn2"
	  Position		  [160, 147, 190, 163]
	  ShowName		  off
	  Expr			  "u==3"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn3"
	  Position		  [160, 202, 190, 218]
	  ShowName		  off
	  Expr			  "u==4"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn4"
	  Position		  [165, 37, 195, 53]
	  ShowName		  off
	  Expr			  "u==1"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn5"
	  Position		  [160, 267, 190, 283]
	  ShowName		  off
	  Expr			  "u==5"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn6"
	  Position		  [160, 327, 190, 343]
	  ShowName		  off
	  Expr			  "u==6"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn7"
	  Position		  [160, 387, 190, 403]
	  ShowName		  off
	  Expr			  "u==7"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn8"
	  Position		  [160, 457, 190, 473]
	  ShowName		  off
	  Expr			  "u==8"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion"
	  Ports			  [1, 1]
	  Position		  [565, 287, 615, 323]
	  ForegroundColor	  "orange"
	  ShowName		  off
	  SourceBlock		  "dspsigattribs/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  growRefPort		  off
	  outframe		  "Sample-based"
	}
	Block {
	  BlockType		  MultiPortSwitch
	  Name			  "Multiport\nSwitch"
	  Ports			  [9, 1]
	  Position		  [505, 40, 540, 190]
	  ShowName		  off
	  Inputs		  "8"
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	}
	Block {
	  BlockType		  MultiPortSwitch
	  Name			  "Multiport\nSwitch1"
	  Ports			  [9, 1]
	  Position		  [505, 230, 540, 380]
	  ShowName		  off
	  Inputs		  "8"
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Zero Pad1"
	  Ports			  [1, 1]
	  Position		  [355, 57, 380, 83]
	  ShowName		  off
	  AttributesFormatString  "\\n"
	  SourceBlock		  "dspsigops/Zero Pad"
	  SourceType		  "Zero Pad"
	  padSigAt		  "End"
	  zpadAlong		  "Columns"
	  padNumOutRowsSpecMethod "User-specified"
	  numOutRows		  "4320"
	  padNumOutColsSpecMethod "User-specified"
	  numOutCols		  "1"
	  trunc_flag		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Zero Pad2"
	  Ports			  [1, 1]
	  Position		  [355, 112, 380, 138]
	  ShowName		  off
	  AttributesFormatString  "\\n"
	  SourceBlock		  "dspsigops/Zero Pad"
	  SourceType		  "Zero Pad"
	  padSigAt		  "End"
	  zpadAlong		  "Columns"
	  padNumOutRowsSpecMethod "User-specified"
	  numOutRows		  "4320"
	  padNumOutColsSpecMethod "User-specified"
	  numOutCols		  "1"
	  trunc_flag		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Zero Pad3"
	  Ports			  [1, 1]
	  Position		  [355, 167, 380, 193]
	  ShowName		  off
	  AttributesFormatString  "\\n"
	  SourceBlock		  "dspsigops/Zero Pad"
	  SourceType		  "Zero Pad"
	  padSigAt		  "End"
	  zpadAlong		  "Columns"
	  padNumOutRowsSpecMethod "User-specified"
	  numOutRows		  "4320"
	  padNumOutColsSpecMethod "User-specified"
	  numOutCols		  "1"
	  trunc_flag		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Zero Pad4"
	  Ports			  [1, 1]
	  Position		  [355, 222, 380, 248]
	  ShowName		  off
	  AttributesFormatString  "\\n"
	  SourceBlock		  "dspsigops/Zero Pad"
	  SourceType		  "Zero Pad"
	  padSigAt		  "End"
	  zpadAlong		  "Columns"
	  padNumOutRowsSpecMethod "User-specified"
	  numOutRows		  "4320"
	  padNumOutColsSpecMethod "User-specified"
	  numOutCols		  "1"
	  trunc_flag		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Zero Pad5"
	  Ports			  [1, 1]
	  Position		  [355, 287, 380, 313]
	  ShowName		  off
	  AttributesFormatString  "\\n"
	  SourceBlock		  "dspsigops/Zero Pad"
	  SourceType		  "Zero Pad"
	  padSigAt		  "End"
	  zpadAlong		  "Columns"
	  padNumOutRowsSpecMethod "User-specified"
	  numOutRows		  "4320"
	  padNumOutColsSpecMethod "User-specified"
	  numOutCols		  "1"
	  trunc_flag		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Zero Pad6"
	  Ports			  [1, 1]
	  Position		  [355, 347, 380, 373]
	  ShowName		  off
	  AttributesFormatString  "\\n"
	  SourceBlock		  "dspsigops/Zero Pad"
	  SourceType		  "Zero Pad"
	  padSigAt		  "End"
	  zpadAlong		  "Columns"
	  padNumOutRowsSpecMethod "User-specified"
	  numOutRows		  "4320"
	  padNumOutColsSpecMethod "User-specified"
	  numOutCols		  "1"
	  trunc_flag		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Zero Pad7"
	  Ports			  [1, 1]
	  Position		  [355, 407, 380, 433]
	  ShowName		  off
	  AttributesFormatString  "\\n"
	  SourceBlock		  "dspsigops/Zero Pad"
	  SourceType		  "Zero Pad"
	  padSigAt		  "End"
	  zpadAlong		  "Columns"
	  padNumOutRowsSpecMethod "User-specified"
	  numOutRows		  "4320"
	  padNumOutColsSpecMethod "User-specified"
	  numOutCols		  "1"
	  trunc_flag		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Zero Pad8"
	  Ports			  [1, 1]
	  Position		  [355, 477, 380, 503]
	  ShowName		  off
	  AttributesFormatString  "\\n"
	  SourceBlock		  "dspsigops/Zero Pad"
	  SourceType		  "Zero Pad"
	  padSigAt		  "End"
	  zpadAlong		  "Columns"
	  padNumOutRowsSpecMethod "User-specified"
	  numOutRows		  "4320"
	  padNumOutColsSpecMethod "User-specified"
	  numOutCols		  "1"
	  trunc_flag		  "None"
	}
	Block {
	  BlockType		  Outport
	  Name			  "rxbits"
	  Position		  [590, 108, 620, 122]
	}
	Block {
	  BlockType		  Outport
	  Name			  "EVM"
	  Position		  [705, 298, 735, 312]
	  ForegroundColor	  "orange"
	  Port			  "2"
	}
	Line {
	  SrcBlock		  "sig"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    Points		    [0, 55]
	    Branch {
	      Points		      [0, 55]
	      Branch {
		Points			[0, 55]
		Branch {
		  DstBlock		  "Demodulator 4"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 65]
		  Branch {

⌨️ 快捷键说明

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