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

📄 ofdmmodulate.mdl

📁 利用matlab的simulink编写ofdm调制
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	  SourceBlock		  "dspmtrx3/Transpose"
	  SourceType		  "Transpose"
	  Hermitian		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "dB Conversion"
	  Ports			  [1, 1]
	  Position		  [350, 31, 380, 59]
	  ShowName		  off
	  SourceBlock		  "dspmathops/dB Conversion"
	  SourceType		  "dB Conversion"
	  dBtype		  "dB"
	  intype		  "Power"
	  R			  "1"
	  fuzz			  on
	}
	Block {
	  BlockType		  Outport
	  Name			  "magresp"
	  Position		  [420, 38, 450, 52]
	}
	Line {
	  SrcBlock		  "dB Conversion"
	  SrcPort		  1
	  DstBlock		  "magresp"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transpose1"
	  SrcPort		  1
	  DstBlock		  "dB Conversion"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transpose"
	  SrcPort		  1
	  DstBlock		  "Mean"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mean"
	  SrcPort		  1
	  DstBlock		  "Transpose1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "ffts"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction"
	  SrcPort		  1
	  DstBlock		  "Transpose"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      From
      Name		      "From1"
      Position		      [30, 356, 125, 374]
      ForegroundColor	      "green"
      BackgroundColor	      "[0.917647, 1.000000, 0.909804]"
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      GotoTag		      "recievesymbols"
    }
    Block {
      BlockType		      From
      Name		      "From21"
      Position		      [15, 163, 70, 177]
      ForegroundColor	      "green"
      BackgroundColor	      "[0.917647, 1.000000, 0.909804]"
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      GotoTag		      "txsymbols"
    }
    Block {
      BlockType		      From
      Name		      "From4"
      Position		      [310, 383, 370, 397]
      ForegroundColor	      "green"
      BackgroundColor	      "[0.917647, 1.000000, 0.909804]"
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      GotoTag		      "rxbits"
    }
    Block {
      BlockType		      From
      Name		      "From5"
      Position		      [310, 425, 370, 445]
      ForegroundColor	      "green"
      BackgroundColor	      "[0.917647, 1.000000, 0.909804]"
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      GotoTag		      "txbits"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto1"
      Position		      [350, 355, 410, 375]
      ForegroundColor	      "green"
      BackgroundColor	      "[0.917647, 1.000000, 0.909804]"
      ShowName		      off
      GotoTag		      "rxbits"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto2"
      Position		      [15, 283, 90, 297]
      Orientation	      "left"
      ForegroundColor	      "green"
      BackgroundColor	      "[0.917647, 1.000000, 0.909804]"
      NamePlacement	      "alternate"
      ShowName		      off
      GotoTag		      "recievesymbols"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto4"
      Position		      [160, 114, 240, 126]
      ForegroundColor	      "green"
      BackgroundColor	      "[0.917647, 1.000000, 0.909804]"
      ShowName		      off
      GotoTag		      "txbits"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto5"
      Position		      [400, 234, 455, 246]
      ForegroundColor	      "green"
      BackgroundColor	      "[0.917647, 1.000000, 0.909804]"
      ShowName		      off
      GotoTag		      "magresp"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto6"
      Position		      [285, 33, 365, 47]
      ForegroundColor	      "green"
      BackgroundColor	      "[0.917647, 1.000000, 0.909804]"
      ShowName		      off
      GotoTag		      "txsymbols"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Group into\nOFDM symbols"
      Ports		      [1, 1]
      Position		      [120, 153, 165, 187]
      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		      [500, 154, 575, 186]
      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, 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		      SubSystem
      Name		      "Multiplex1"
      Ports		      [1, 1]
      Position		      [110, 275, 190, 305]
      Orientation	      "left"
      BackgroundColor	      "lightBlue"
      DropShadow	      on
      NamePlacement	      "alternate"
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('P/S Transform')"
      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		      [170, 339, 245, 391]
      BackgroundColor	      "lightBlue"
      DropShadow	      on
      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		      [165, 14, 240, 66]
      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		      Reference
      Name		      "Reshape1"
      Ports		      [1, 1]
      Position		      [420, 415, 445, 455]
      ShowName		      off
      SourceBlock	      "simulink/Math\nOperations/Reshape"
      SourceType	      "Reshape"
      OutputDimensionality    "1-D array"
      OutputDimensions	      "1600"
    }
    Block {
      BlockType		      Reference
      Name		      "Reshape2"
      Ports		      [1, 1]
      Position		      [420, 370, 445, 410]
      ShowName		      off
      SourceBlock	      "simulink/Math\nOperations/Reshape"
      SourceType	      "Reshape"
      OutputDimensionality    "1-D array"
      OutputDimensions	      "1600"
    }
    Block {
      BlockType		      Reference
      Name		      "Reshape3"
      Ports		      [1, 1]
      Position		      [500, 20, 525, 60]
      ShowName		      off
      SourceBlock	      "simulink/Math\nOperations/Reshape"
      SourceType	      "Reshape"
      OutputDimensionality    "Column vector"
      OutputDimensions	      "1600"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [560, 399, 590, 431]
      Location		      [188, 365, 512, 604]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Select symbols"
      Ports		      [1, 1]
      Position		      [210, 274, 255, 306]
      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		      [590, 15, 625, 65]
      SourceBlock	      "dspsnks4/Spectrum\nScope"
      SourceType	      "Spectrum Scope"
      ScopeProperties	      off
      Domain		      "Frequency"

⌨️ 快捷键说明

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