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

📄 ofdm_1024.mdl

📁 OFDM的simulink仿真
💻 MDL
📖 第 1 页 / 共 3 页
字号:
      Ports		      [1]
      Position		      [440, 225, 485, 275]
      SourceBlock	      "commsink2/Discrete-Time\nScatter Plot\nScope"
      SourceType	      "Discrete-Time Scatter Plot Scope"
      showPlotting	      on
      sampPerSymb	      "1"
      offsetEye		      "0"
      numTraces		      "40"
      numNewFrames	      "10"
      showRendering	      off
      LineMarkers	      "*"
      LineColors	      "[1 0 0]"
      fading		      on
      render		      on
      AxisGrid		      on
      showAxes		      off
      xMin		      "-3.3"
      xMax		      "3.315"
      yMin		      "-3.3"
      yMax		      "3.315"
      inphaseLabel	      "In-phase Amplitude"
      quadratureLabel	      "Quadrature Amplitude"
      showFigure	      off
      openScopeAtSimStart     on
      FrameNumber	      off
      FigPos		      "[232 118 560 560]"
      figTitle		      "Scatter Plot"
      numLinesMax	      "8"
      block_type_	      "scatter"
    }
    Block {
      BlockType		      Display
      Name		      "Display"
      Ports		      [1]
      Position		      [425, 410, 515, 440]
      Decimation	      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Error Rate\nCalculation"
      Ports		      [2, 1]
      Position		      [310, 395, 385, 450]
      NamePlacement	      "alternate"
      SourceBlock	      "commsink2/Error Rate\nCalculation"
      SourceType	      "Error Rate Calculation"
      N			      "0"
      st_delay		      "0"
      cp_mode		      "Entire frame"
      subframe		      "[]"
      PMode		      "Port"
      WsName		      "ErrorVec"
      RsMode2		      off
      stop		      off
      numErr		      "100"
      maxBits		      "1e6"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Group into\nOFDM symbols"
      Ports		      [1, 1]
      Position		      [410, 173, 455, 207]
      BackgroundColor	      "lightBlue"
      DropShadow	      on
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('OFDM\\nSymbols')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Group into\nOFDM symbols"
	Location		[305, 486, 651, 638]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "in"
	  Position		  [25, 33, 55, 47]
	}
	Block {
	  BlockType		  Reference
	  Name			  "Group data for\nOFDM symbols "
	  Ports			  [1, 1]
	  Position		  [80, 27, 135, 53]
	  SourceBlock		  "simulink/Math\nOperations/Reshape"
	  SourceType		  "Reshape"
	  OutputDimensionality	  "Customize"
	  OutputDimensions	  "[900 1]"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Zero Pad"
	  Ports			  [1, 1]
	  Position		  [185, 21, 220, 59]
	  BackgroundColor	  "lightBlue"
	  DropShadow		  on
	  ShowName		  off
	  SourceBlock		  "dspsigops/Zero Pad"
	  SourceType		  "Zero Pad"
	  padSigAt		  "End"
	  zpadAlong		  "Columns"
	  padNumOutRowsSpecMethod "Next power of two"
	  numOutRows		  "params.NFFT"
	  padNumOutColsSpecMethod "User-specified"
	  numOutCols		  "1"
	  trunc_flag		  "None"
	}
	Block {
	  BlockType		  Outport
	  Name			  "out"
	  Position		  [285, 33, 315, 47]
	}
	Line {
	  SrcBlock		  "in"
	  SrcPort		  1
	  DstBlock		  "Group data for\nOFDM symbols "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Group data for\nOFDM symbols "
	  SrcPort		  1
	  DstBlock		  "Zero Pad"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Zero Pad"
	  SrcPort		  1
	  DstBlock		  "out"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Multiplex"
      Ports		      [1, 1]
      Position		      [635, 174, 710, 206]
      BackgroundColor	      "lightBlue"
      DropShadow	      on
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('Multiplex\\nOFDM Frames')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Multiplex"
	Location		[692, 159, 924, 262]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 38, 55, 52]
	}
	Block {
	  BlockType		  Reference
	  Name			  "Reshape2"
	  Ports			  [1, 1]
	  Position		  [100, 25, 125, 65]
	  ShowName		  off
	  SourceBlock		  "simulink/Math\nOperations/Reshape"
	  SourceType		  "Reshape"
	  OutputDimensionality	  "Column vector"
	  OutputDimensions	  "1600"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [175, 38, 205, 52]
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Reshape2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Reshape2"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Multiplex1"
      Ports		      [1, 1]
      Position		      [405, 323, 425, 357]
      Orientation	      "left"
      BackgroundColor	      "lightBlue"
      DropShadow	      on
      NamePlacement	      "alternate"
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('P/S')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Multiplex1"
	Location		[692, 158, 924, 262]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 38, 55, 52]
	}
	Block {
	  BlockType		  Reference
	  Name			  "Reshape2"
	  Ports			  [1, 1]
	  Position		  [100, 25, 125, 65]
	  ShowName		  off
	  SourceBlock		  "simulink/Math\nOperations/Reshape"
	  SourceType		  "Reshape"
	  OutputDimensionality	  "Column vector"
	  OutputDimensions	  "1600"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [175, 38, 205, 52]
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Reshape2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Reshape2"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Rectangular QAM\nDemodulator\nBaseband"
      Ports		      [1, 1]
      Position		      [305, 314, 380, 366]
      Orientation	      "left"
      ShowName		      off
      SourceBlock	      "commdigbbndam2/Rectangular QAM\nDemodulator\nBa"
"seband"
      SourceType	      "Rectangular QAM Demodulator Baseband"
      M			      "16"
      OutType		      "Bit"
      Dec		      "Binary"
      PowType		      "Min. distance between symbols"
      MinDist		      "2"
      AvgPow		      "2"
      PeakPow		      "1"
      Ph		      "0"
      numSamp		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Rectangular QAM\nModulator\nBaseband"
      Ports		      [1, 1]
      Position		      [310, 164, 385, 216]
      SourceBlock	      "commdigbbndam2/Rectangular QAM\nModulator\nBase"
"band"
      SourceType	      "Rectangular QAM Modulator Baseband"
      M			      "16"
      InType		      "Bit"
      Enc		      "Binary"
      PowType		      "Min. distance between symbols"
      MinDist		      "2"
      AvgPow		      "2"
      PeakPow		      "1"
      Ph		      "0"
      numSamp		      "1"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Select symbols"
      Ports		      [1, 1]
      Position		      [445, 324, 490, 356]
      Orientation	      "left"
      BackgroundColor	      "lightBlue"
      DropShadow	      on
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('Remove\\nZeros')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Select symbols"
	Location		[547, 401, 793, 474]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [190, 33, 220, 47]
	  Orientation		  "left"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Select symbols"
	  Ports			  [1, 1]
	  Position		  [95, 30, 145, 50]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  InputType		  "Matrix"
	  Elements		  "[39:64 1:27]"
	  Rows			  "[1024-[900/2-1:-1:0] 1:900/2]"
	  Columns		  "-1"
	  InputPortWidth	  "64"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [25, 33, 55, 47]
	  Orientation		  "left"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Select symbols"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Select symbols"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Spectrum\nScope"
      Ports		      [1]
      Position		      [645, 230, 680, 280]
      SourceBlock	      "dspsnks4/Spectrum\nScope"
      SourceType	      "Spectrum Scope"
      ScopeProperties	      off
      Domain		      "Frequency"
      HorizSpan		      "1"
      UseBuffer		      on
      BufferSize	      "128"
      Overlap		      "64"
      inpFftLenInherit	      on
      FFTlength		      "1024"
      numAvg		      "2"
      DisplayProperties	      off
      AxisGrid		      on
      Memory		      off
      FrameNumber	      off
      AxisLegend	      off
      AxisZoom		      off
      OpenScopeAtSimStart     on
      OpenScopeImmediately    off
      FigPos		      "[235 96 560 420]"
      AxisProperties	      on
      XUnits		      "Hertz"
      XRange		      "[-Fs/2...Fs/2]"
      InheritXIncr	      on
      XIncr		      "1.0"
      XLabel		      "Samples"
      YUnits		      "dB"
      YMin		      "-62.178915412863"
      YMax		      "18.2539548238998"
      YLabel		      "Magnitude, dB"
      LineProperties	      off
      LineDisables	      "on|off|off|off|off|off|off|off|off|off|off|off|"
"off|off|off|off|off|off|off|off"
      LineMarkers	      "x"
      LineColors	      "[1 0 0]"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem"
      Ports		      [1, 1]
      Position		      [485, 160, 525, 220]
      BackgroundColor	      "lightBlue"
      DropShadow	      on

⌨️ 快捷键说明

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