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

📄 ofdm_1024.mdl

📁 OFDM的simulink仿真
💻 MDL
📖 第 1 页 / 共 3 页
字号:
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('IFFT')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Subsystem"
	Location		[393, 148, 906, 280]
	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, 53, 55, 67]
	}
	Block {
	  BlockType		  Reference
	  Name			  "IFFT"
	  Ports			  [1, 1]
	  Position		  [280, 44, 320, 76]
	  ShowName		  off
	  SourceBlock		  "dspxfrm3/IFFT"
	  SourceType		  "IFFT"
	  CompMethod		  "Table lookup"
	  TableOpt		  "Speed"
	  BitRevOrder		  off
	  cs_in			  off
	  SkipNorm		  off
	  mode			  "Complex"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Normalize"
	  Position		  [370, 45, 400, 75]
	  Gain			  "sqrt(1024)"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Shift for FFT"
	  Ports			  [1, 1]
	  Position		  [175, 38, 225, 82]
	  InputType		  "Matrix"
	  Elements		  "[27:64 1:26]"
	  Rows			  "[900/2+1:1024 1:900/2]"
	  Columns		  "-1"
	  InputPortWidth	  "64"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [455, 53, 485, 67]
	}
	Line {
	  SrcBlock		  "IFFT"
	  SrcPort		  1
	  DstBlock		  "Normalize"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Shift for FFT"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Shift for FFT"
	  SrcPort		  1
	  DstBlock		  "IFFT"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Normalize"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Transform to\nfrequency domain"
      Ports		      [1, 1]
      Position		      [505, 324, 550, 356]
      Orientation	      "left"
      BackgroundColor	      "lightBlue"
      DropShadow	      on
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('FFT')\n"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Transform to\nfrequency domain"
	Location		[351, 559, 787, 675]
	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, 38, 55, 52]
	}
	Block {
	  BlockType		  Reference
	  Name			  "FFT"
	  Ports			  [1, 1]
	  Position		  [110, 28, 150, 62]
	  SourceBlock		  "dspxfrm3/FFT"
	  SourceType		  "FFT"
	  CompMethod		  "Table lookup"
	  TableOpt		  "Speed"
	  BitRevOrder		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion"
	  Ports			  [1, 1]
	  Position		  [275, 29, 320, 61]
	  ShowName		  off
	  SourceBlock		  "dspsigattribs/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  growRefPort		  off
	  outframe		  "Frame-based"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Normalize"
	  Position		  [195, 33, 225, 57]
	  Gain			  "1/sqrt(1024)"
	}
	Block {
	  BlockType		  Outport
	  Name			  "out"
	  Position		  [365, 38, 395, 52]
	}
	Line {
	  SrcBlock		  "FFT"
	  SrcPort		  1
	  DstBlock		  "Normalize"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Normalize"
	  SrcPort		  1
	  DstBlock		  "Frame Status\nConversion"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "in"
	  SrcPort		  1
	  DstBlock		  "FFT"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Frame Status\nConversion"
	  SrcPort		  1
	  DstBlock		  "out"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "cyclic prefix"
      Ports		      [1, 1]
      Position		      [555, 170, 615, 210]
      BackgroundColor	      "lightBlue"
      DropShadow	      on
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('Append\\nCyclic\\nPrefix')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"cyclic prefix"
	Location		[482, 364, 770, 480]
	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, 38, 55, 52]
	}
	Block {
	  BlockType		  Selector
	  Name			  "Add Cyclic\nPrefix"
	  Ports			  [1, 1]
	  Position		  [105, 31, 155, 59]
	  InputType		  "Matrix"
	  Elements		  "[49:64 1:64]"
	  Rows			  "[1024-[128-1:-1:0] 1:1024]"
	  Columns		  "-1"
	  InputPortWidth	  "64"
	}
	Block {
	  BlockType		  Outport
	  Name			  "out"
	  Position		  [210, 38, 240, 52]
	}
	Line {
	  SrcBlock		  "Add Cyclic\nPrefix"
	  SrcPort		  1
	  DstBlock		  "out"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "in"
	  SrcPort		  1
	  DstBlock		  "Add Cyclic\nPrefix"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "remove cyclic prefix"
      Ports		      [1, 1]
      Position		      [575, 319, 630, 361]
      Orientation	      "left"
      BackgroundColor	      "lightBlue"
      DropShadow	      on
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('Remove\\nCyclic\\nPrefix')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"remove cyclic prefix"
	Location		[100, 317, 452, 418]
	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, 33, 55, 47]
	}
	Block {
	  BlockType		  Selector
	  Name			  "Remove\ncyclic prefix"
	  Ports			  [1, 1]
	  Position		  [110, 28, 160, 52]
	  InputType		  "Matrix"
	  Elements		  "[17:80]"
	  Rows			  "[128+1:1152]"
	  Columns		  "-1"
	  InputPortWidth	  "80"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [215, 33, 245, 47]
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Remove\ncyclic prefix"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Remove\ncyclic prefix"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Rectangular QAM\nModulator\nBaseband"
      SrcPort		      1
      Points		      [0, 0; 5, 0]
      Branch {
	DstBlock		"Group into\nOFDM symbols"
	DstPort			1
      }
      Branch {
	Points			[0, 60]
	DstBlock		"Discrete-Time\nScatter Plot\nScope"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Group into\nOFDM symbols"
      SrcPort		      1
      DstBlock		      "Subsystem"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Subsystem"
      SrcPort		      1
      DstBlock		      "cyclic prefix"
      DstPort		      1
    }
    Line {
      SrcBlock		      "cyclic prefix"
      SrcPort		      1
      Points		      [0, 0]
      Branch {
	DstBlock		"Multiplex"
	DstPort			1
      }
      Branch {
	Points			[0, 65]
	DstBlock		"Spectrum\nScope"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Demultiplex"
      SrcPort		      1
      DstBlock		      "remove cyclic prefix"
      DstPort		      1
    }
    Line {
      SrcBlock		      "remove cyclic prefix"
      SrcPort		      1
      DstBlock		      "Transform to\nfrequency domain"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Transform to\nfrequency domain"
      SrcPort		      1
      DstBlock		      "Select symbols"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Select symbols"
      SrcPort		      1
      DstBlock		      "Multiplex1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Multiplex1"
      SrcPort		      1
      DstBlock		      "Rectangular QAM\nDemodulator\nBaseband"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Rectangular QAM\nDemodulator\nBaseband"
      SrcPort		      1
      Points		      [-5, 0]
      DstBlock		      "Error Rate\nCalculation"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Error Rate\nCalculation"
      SrcPort		      1
      DstBlock		      "Display"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Multiplex"
      SrcPort		      1
      Points		      [35, 0]
      DstBlock		      "AWGN\nChannel"
      DstPort		      1
    }
    Line {
      SrcBlock		      "AWGN\nChannel"
      SrcPort		      1
      Points		      [0, 55]
      DstBlock		      "Demultiplex"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Bernoulli Binary\nGenerator"
      SrcPort		      1
      Points		      [0, 0]
      Branch {
	DstBlock		"Rectangular QAM\nModulator\nBaseband"
	DstPort			1
      }
      Branch {
	Points			[0, 220]
	DstBlock		"Error Rate\nCalculation"
	DstPort			1
      }
    }
  }
}

⌨️ 快捷键说明

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