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

📄 ieee802_11.mdl

📁 在matlab中编写的802.11源代码
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  BlockType		  Reference
	  Name			  "Integer Delay2"
	  Ports			  [1, 1]
	  Position		  [395, 89, 420, 111]
	  ForegroundColor	  "orange"
	  ShowName		  off
	  AttributesFormatString  "\\n"
	  SourceBlock		  "dspobslib/Integer Delay"
	  SourceType		  "Integer Delay"
	  delay			  "1"
	  ic			  "1"
	  reset_popup		  "None"
	}
	Block {
	  BlockType		  RelationalOperator
	  Name			  "Relational\nOperator"
	  Position		  [220, 65, 240, 100]
	  ForegroundColor	  "orange"
	  ShowName		  off
	  Operator		  ">"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  RelationalOperator
	  Name			  "Relational\nOperator1"
	  Position		  [220, 130, 240, 165]
	  ForegroundColor	  "orange"
	  ShowName		  off
	  Operator		  "<="
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "SNR down threshold"
	  Ports			  [1, 1]
	  Position		  [85, 141, 155, 169]
	  ForegroundColor	  "orange"
	  SourceBlock		  "IEEE80211a_lib/Select value"
	  SourceType		  ""
	  ShowPortLabels	  on
	  vector		  "snrDown"
	}
	Block {
	  BlockType		  Reference
	  Name			  "SNR up threshold"
	  Ports			  [1, 1]
	  Position		  [85, 76, 155, 104]
	  ForegroundColor	  "orange"
	  SourceBlock		  "IEEE80211a_lib/Select value"
	  SourceType		  ""
	  ShowPortLabels	  on
	  vector		  "snrUp"
	}
	Block {
	  BlockType		  Outport
	  Name			  "modIdx"
	  Position		  [465, 93, 495, 107]
	  ForegroundColor	  "orange"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Outport
	  Name			  "birRate"
	  Position		  [585, 198, 615, 212]
	  ForegroundColor	  "orange"
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Line {
	  SrcBlock		  "snrEst"
	  SrcPort		  1
	  Points		  [10, 0; 0, 50]
	  Branch {
	    DstBlock		    "Relational\nOperator"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 65]
	    DstBlock		    "Relational\nOperator1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Relational\nOperator"
	  SrcPort		  1
	  DstBlock		  "Add1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Relational\nOperator1"
	  SrcPort		  1
	  Points		  [85, 0; 0, -50]
	  DstBlock		  "Add1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Integer Delay2"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    DstBlock		    "modIdx"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 105]
	    Branch {
	      Points		      [-95, 0]
	      Branch {
		Points			[0, 0]
		DstBlock		"Add1"
		DstPort			3
	      }
	      Branch {
		Points			[-270, 0; 0, -50; 35, 0]
		Branch {
		  DstBlock		  "SNR down threshold"
		  DstPort		  1
		}
		Branch {
		  Points		  [-35, 0]
		  DstBlock		  "SNR up threshold"
		  DstPort		  1
		}
	      }
	    }
	    Branch {
	      DstBlock		      "Bit Rate"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "SNR up threshold"
	  SrcPort		  1
	  DstBlock		  "Relational\nOperator"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "SNR down threshold"
	  SrcPort		  1
	  DstBlock		  "Relational\nOperator1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Add1"
	  SrcPort		  1
	  DstBlock		  "Integer Delay2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Bit Rate"
	  SrcPort		  1
	  DstBlock		  "birRate"
	  DstPort		  1
	}
	Annotation {
	  Name			  "inc modIdx by 1"
	  Position		  [288, 78]
	  ForegroundColor	  "orange"
	}
	Annotation {
	  Name			  "dec modIdx by 1"
	  Position		  [288, 143]
	  ForegroundColor	  "orange"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Assemble OFDM frame"
      Ports		      [3, 1]
      Position		      [470, 58, 550, 172]
      BackgroundColor	      "lightBlue"
      DropShadow	      on
      ShowName		      off
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "disp('Assemble\\nOFDM Frames')\n"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Assemble OFDM frame"
	Location		[204, 334, 810, 669]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "pilot"
	  Position		  [110, 17, 140, 33]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "train"
	  Position		  [345, 38, 375, 52]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "in"
	  Position		  [30, 168, 60, 182]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Assemble\nSubcarriers"
	  Ports			  [11, 1]
	  Position		  [325, 70, 375, 280]
	  SourceBlock		  "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
	  SourceType		  "Matrix Concatenation"
	  numInports		  "11"
	  catMethod		  "Vertical"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "DC value"
	  Ports			  [0, 1]
	  Position		  [240, 165, 285, 185]
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskDisplay		  "disp('Zero DC')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "DC value"
	    Location		    [367, 230, 702, 339]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [25, 28, 45, 52]
	      ShowName		      off
	      Value		      "complex(zeros(1,params.OFDMSymPerFrame)"
")"
	      VectorParams1D	      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Frame Status\nConversion"
	      Ports		      [1, 1]
	      Position		      [105, 22, 155, 58]
	      ShowName		      off
	      SourceBlock	      "dspsigattribs/Frame Status\nConversion"
	      SourceType	      "Frame Status Conversion"
	      ShowPortLabels	      off
	      growRefPort	      off
	      outframe		      "Frame-based"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "out"
	      Position		      [205, 33, 235, 47]
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      DstBlock		      "Frame Status\nConversion"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Frame Status\nConversion"
	      SrcPort		      1
	      DstBlock		      "out"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [250, 244, 285, 266]
	  ShowName		  off
	  Gain			  "-1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Prepend\ntraining seq"
	  Ports			  [2, 1]
	  Position		  [440, 92, 490, 203]
	  SourceBlock		  "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
	  SourceType		  "Matrix Concatenation"
	  numInports		  "2"
	  catMethod		  "Horizontal"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Select data\nblocks"
	  Ports			  [1, 6]
	  Position		  [110, 54, 150, 296]
	  SourceBlock		  "dspindex/Multiport\nSelector"
	  SourceType		  "Multiport Selector"
	  rowsOrCols		  "Rows"
	  idxCellArray		  "{1:5, 6:18, 19:24, 25:30, 31:43, 44:48}"
	  idxErrMode		  "Clip Index"
	}
	Block {
	  BlockType		  Outport
	  Name			  "out"
	  Position		  [540, 143, 570, 157]
	  IconDisplay		  "Port number"
	}
	Line {
	  SrcBlock		  "Select data\nblocks"
	  SrcPort		  1
	  DstBlock		  "Assemble\nSubcarriers"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Select data\nblocks"
	  SrcPort		  2
	  DstBlock		  "Assemble\nSubcarriers"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Select data\nblocks"
	  SrcPort		  3
	  DstBlock		  "Assemble\nSubcarriers"
	  DstPort		  5
	}
	Line {
	  SrcBlock		  "Select data\nblocks"
	  SrcPort		  4
	  DstBlock		  "Assemble\nSubcarriers"
	  DstPort		  7
	}
	Line {
	  SrcBlock		  "Select data\nblocks"
	  SrcPort		  5
	  DstBlock		  "Assemble\nSubcarriers"
	  DstPort		  9
	}
	Line {
	  SrcBlock		  "Select data\nblocks"
	  SrcPort		  6
	  DstBlock		  "Assemble\nSubcarriers"
	  DstPort		  11
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "Assemble\nSubcarriers"
	  DstPort		  10
	}
	Line {
	  SrcBlock		  "pilot"
	  SrcPort		  1
	  Points		  [45, 0; 0, 70]
	  Branch {
	    Points		    [0, 40]
	    Branch {
	      Points		      [0, 80]
	      Branch {
		Points			[0, 40]
		DstBlock		"Gain"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Assemble\nSubcarriers"
		DstPort			8
	      }
	    }
	    Branch {
	      DstBlock		      "Assemble\nSubcarriers"
	      DstPort		      4
	    }
	  }
	  Branch {
	    DstBlock		    "Assemble\nSubcarriers"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Assemble\nSubcarriers"
	  SrcPort		  1
	  DstBlock		  "Prepend\ntraining seq"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "train"
	  SrcPort		  1
	  Points		  [30, 0; 0, 75]
	  DstBlock		  "Prepend\ntraining seq"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Prepend\ntraining seq"
	  SrcPort		  1
	  DstBlock		  "out"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "DC value"
	  SrcPort		  1
	  DstBlock		  "Assemble\nSubcarriers"
	  DstPort		  6
	}
	Line {
	  SrcBlock		  "in"
	  SrcPort		  1
	  DstBlock		  "Select data\nblocks"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Display
      Name		      "Bit Rate1"
      Ports		      [1]
      Position		      [275, 488, 360, 512]
      BackgroundColor	      "[1.000000, 1.000000, 0.658824]"
      ShowName		      off
      Decimation	      "1"
    }
    Block {
      BlockType		      Display
      Name		      "Bit Rate3"
      Ports		      [1]
      Position		      [495, 473, 580, 497]
      BackgroundColor	      "[1.000000, 1.000000, 0.658824]"
      ShowName		      off
      Decimation	      "1"
    }
    Block {
      BlockType		      Display
      Name		      "Bit Rate4"
      Ports		      [1]
      Position		      [350, 243, 435, 267]
      BackgroundColor	      "[1.000000, 1.000000, 0.658824]"
      ShowName		      off
      Decimation	      "1"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Data source"
      Ports		      [1, 1]
      Position		      [70, 145, 145, 185]
      BackgroundColor	      "lightBlue"
      DropShadow	      on
      ShowName		      off
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "disp('Variable-Rate\\nData source')\n"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Data source"
	Location		[164, 391, 612, 556]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "mode"
	  Position		  [30, 23, 60, 37]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Binary source"
	  Ports			  [0, 1, 1]
	  Position		  [175, 56, 265, 84]
	  TreatAsAtomicUnit	  on
	  MinAlgLoopOccurrences	  off

⌨️ 快捷键说明

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