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

📄 ofdm_slm.mdl

📁 OFDM限幅类峰均比,用于仿真OFDM系统中的限幅类峰均比。
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      SourceBlock	      "dspxfrm3/FFT"
      SourceType	      "FFT"
      CompMethod	      "Table lookup"
      TableOpt		      "Speed"
      BitRevOrder	      off
    }
    Block {
      BlockType		      Reference
      Name		      "Frame Status\nConversion"
      Ports		      [1, 1]
      Position		      [335, 424, 385, 456]
      Orientation	      "left"
      BackgroundColor	      "yellow"
      SourceBlock	      "dspsigattribs/Frame Status\nConversion"
      SourceType	      "Frame Status Conversion"
      growRefPort	      off
      outframe		      "Frame-based"
    }
    Block {
      BlockType		      Reference
      Name		      "Frame Status\nConversion1"
      Ports		      [1, 1]
      Position		      [570, 431, 605, 469]
      Orientation	      "left"
      BackgroundColor	      "yellow"
      SourceBlock	      "dspsigattribs/Frame Status\nConversion"
      SourceType	      "Frame Status Conversion"
      growRefPort	      off
      outframe		      "Frame-based"
    }
    Block {
      BlockType		      SubSystem
      Name		      "PAR "
      Ports		      [1]
      Position		      [665, 235, 730, 275]
      BackgroundColor	      "yellow"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('PAR')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"PAR "
	Location		[2, 82, 790, 549]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [40, 63, 70, 77]
	  BackgroundColor	  "green"
	}
	Block {
	  BlockType		  Abs
	  Name			  "Abs"
	  Position		  [170, 55, 200, 85]
	  BackgroundColor	  "yellow"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction1"
	  Ports			  [1, 1]
	  Position		  [235, 55, 265, 85]
	  BackgroundColor	  "yellow"
	  Operator		  "square"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction2"
	  Ports			  [1, 1]
	  Position		  [455, 130, 485, 160]
	  BackgroundColor	  "yellow"
	  Operator		  "reciprocal"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Maximum"
	  Ports			  [1, 1]
	  Position		  [370, 50, 425, 90]
	  BackgroundColor	  "yellow"
	  SourceBlock		  "dspstat3/Maximum"
	  SourceType		  "Maximum"
	  fcn			  "Value"
	  reset			  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Mean"
	  Ports			  [1, 1]
	  Position		  [345, 125, 400, 165]
	  BackgroundColor	  "yellow"
	  SourceBlock		  "dspstat3/Mean"
	  SourceType		  "Mean"
	  run			  off
	  reset_popup		  "None"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [595, 91, 640, 124]
	  BackgroundColor	  "yellow"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace"
	  Position		  [685, 95, 745, 125]
	  BackgroundColor	  "lightBlue"
	  VariableName		  "par_SLM"
	  MaxDataPoints		  "inf"
	  SampleTime		  "-1"
	  SaveFormat		  "Array"
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace1"
	  Position		  [145, 262, 255, 308]
	  BackgroundColor	  "lightBlue"
	  VariableName		  "ofdm_signal_SLM"
	  MaxDataPoints		  "inf"
	  SampleTime		  "-1"
	  SaveFormat		  "Array"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [0, 0; 35, 0]
	  Branch {
	    Points		    [0, 215]
	    DstBlock		    "To Workspace1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Abs"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Abs"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction2"
	  SrcPort		  1
	  Points		  [60, 0; 0, -30]
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "To Workspace"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mean"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction1"
	  SrcPort		  1
	  Points		  [0, 0; 30, 0]
	  Branch {
	    DstBlock		    "Maximum"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 75]
	    DstBlock		    "Mean"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Maximum"
	  SrcPort		  1
	  Points		  [60, 0; 0, 30]
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Annotation {
	  Name			  "计算峰均比PAR"
	  Position		  [407, 242]
	  BackgroundColor	  "orange"
	  DropShadow		  on
	  FontName		  "Arial"
	  FontSize		  12
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "QPSK\nDemodulator\nBaseband"
      Ports		      [1, 1]
      Position		      [220, 415, 300, 465]
      Orientation	      "left"
      BackgroundColor	      "yellow"
      NamePlacement	      "alternate"
      SourceBlock	      "commdigbbndpm2/QPSK\nDemodulator\nBaseband"
      SourceType	      "QPSK Demodulator Baseband"
      OutType		      "Bit"
      Dec		      "Gray"
      Ph		      "pi/4"
      numSamp		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "QPSK\nModulator\nBaseband"
      Ports		      [1, 1]
      Position		      [270, 196, 345, 244]
      BackgroundColor	      "yellow"
      SourceBlock	      "commdigbbndpm2/QPSK\nModulator\nBaseband"
      SourceType	      "QPSK Modulator Baseband"
      InType		      "Bit"
      Enc		      "Gray"
      Ph		      "pi/4"
      numSamp		      "1"
    }
    Block {
      BlockType		      "S-Function"
      Name		      "S-Function1"
      Ports		      [0, 1]
      Position		      [520, 110, 580, 140]
      BackgroundColor	      "cyan"
      FunctionName	      "stopwatch"
    }
    Block {
      BlockType		      SubSystem
      Name		      "SLM"
      Ports		      [1, 2]
      Position		      [410, 199, 510, 241]
      BackgroundColor	      "yellow"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('SLM');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"SLM"
	Location		[0, 82, 788, 558]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [30, 208, 60, 222]
	  BackgroundColor	  "green"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion"
	  Ports			  [1, 1]
	  Position		  [305, 37, 355, 73]
	  BackgroundColor	  "yellow"
	  SourceBlock		  "dspsigattribs/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  growRefPort		  off
	  outframe		  "Frame-based"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion1"
	  Ports			  [1, 1]
	  Position		  [300, 152, 350, 188]
	  BackgroundColor	  "yellow"
	  SourceBlock		  "dspsigattribs/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  growRefPort		  off
	  outframe		  "Frame-based"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion2"
	  Ports			  [1, 1]
	  Position		  [300, 377, 350, 413]
	  BackgroundColor	  "yellow"
	  SourceBlock		  "dspsigattribs/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  growRefPort		  off
	  outframe		  "Frame-based"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion3"
	  Ports			  [1, 1]
	  Position		  [300, 267, 350, 303]
	  BackgroundColor	  "yellow"
	  SourceBlock		  "dspsigattribs/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  growRefPort		  off
	  outframe		  "Frame-based"
	}
	Block {
	  BlockType		  Reference
	  Name			  "IFFT"
	  Ports			  [1, 1]
	  Position		  [635, 34, 675, 66]
	  BackgroundColor	  "magenta"
	  SourceBlock		  "dspxfrm3/IFFT"
	  SourceType		  "IFFT"
	  CompMethod		  "Table lookup"
	  TableOpt		  "Speed"
	  BitRevOrder		  off
	  cs_in			  off
	  SkipNorm		  off
	  mode			  "Complex"
	}
	Block {
	  BlockType		  Reference
	  Name			  "IFFT1"
	  Ports			  [1, 1]
	  Position		  [635, 149, 675, 181]
	  BackgroundColor	  "magenta"
	  SourceBlock		  "dspxfrm3/IFFT"
	  SourceType		  "IFFT"
	  CompMethod		  "Table lookup"
	  TableOpt		  "Speed"
	  BitRevOrder		  off
	  cs_in			  off
	  SkipNorm		  off
	  mode			  "Complex"
	}
	Block {
	  BlockType		  Reference
	  Name			  "IFFT2"
	  Ports			  [1, 1]
	  Position		  [635, 264, 675, 296]
	  BackgroundColor	  "magenta"
	  SourceBlock		  "dspxfrm3/IFFT"
	  SourceType		  "IFFT"
	  CompMethod		  "Table lookup"
	  TableOpt		  "Speed"
	  BitRevOrder		  off
	  cs_in			  off
	  SkipNorm		  off
	  mode			  "Complex"
	}
	Block {
	  BlockType		  Reference
	  Name			  "IFFT3"
	  Ports			  [1, 1]
	  Position		  [635, 374, 675, 406]
	  BackgroundColor	  "magenta"
	  SourceBlock		  "dspxfrm3/IFFT"
	  SourceType		  "IFFT"
	  CompMethod		  "Table lookup"
	  TableOpt		  "Speed"
	  BitRevOrder		  off
	  cs_in			  off
	  SkipNorm		  off
	  mode			  "Complex"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [425, 31, 470, 64]
	  BackgroundColor	  "yellow"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [425, 146, 470, 179]
	  BackgroundColor	  "yellow"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product2"
	  Ports			  [2, 1]
	  Position		  [430, 261, 475, 294]
	  BackgroundColor	  "yellow"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product3"
	  Ports			  [2, 1]
	  Position		  [425, 371, 470, 404]
	  BackgroundColor	  "yellow"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "SLM Selector"
	  Ports			  [4, 2]
	  Position		  [800, 203, 890, 262]
	  BackgroundColor	  "orange"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp('SLM Selector');"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "SLM Selector"
	    Location		    [2, 82, 773, 532]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [115, 38, 145, 52]
	      BackgroundColor	      "green"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [115, 103, 145, 117]
	      BackgroundColor	      "green"
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [115, 168, 145, 182]
	      BackgroundColor	      "green"
	      Port		      "3"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In4"
	      Position		      [115, 228, 145, 242]
	      BackgroundColor	      "green"
	      Port		      "4"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Frame Status\nConversion"
	      Ports		      [1, 1]
	      Position		      [715, 120, 755, 150]
	      BackgroundColor	      "lightBlue"
	      NamePlacement	      "alternate"
	      SourceBlock	      "dspsigattribs/Frame Status\nConversion"
	      SourceType	      "Frame Status Conversion"
	      growRefPort	      "off"
	      outframe		      "Sample-based"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Matrix\nConcatenation"
	      Ports		      [4, 1]
	      Position		      [520, 114, 575, 156]
	      BackgroundColor	      "yellow"
	      SourceBlock	      "simulink/Math\nOperations/Matrix\nConca"
"tenation"
	      SourceType	      "Matrix Concatenation"
	      numInports	      "4"
	      catMethod		      "Vertical"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Minimum"
	      Ports		      [1, 1]
	      Position		      [620, 115, 675, 155]
	      BackgroundColor	      "lightBlue"
	      SourceBlock	      "dspstat3/Minimum"
	      SourceType	      "Minimum"
	      fcn		      "Index"
	      reset_popup	      "None"
	    }
	    Block {
	      BlockType		      MultiPortSwitch
	      Name		      "Multiport\nSwitch"
	      Ports		      [5, 1]
	      Position		      [620, 325, 650, 375]
	      BackgroundColor	      "lightBlue"
	      InputSameDT	      off
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Subsystem"
	      Ports		      [1, 1]
	      Position		      [245, 24, 345, 66]
	      BackgroundColor	      "orange"
	      TreatAsAtomicUnit	      off
	      MaskDisplay	      "disp('OFDM PAR');"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      System {
		Name			"Subsystem"
		Location		[2, 82, 790, 549]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200

⌨️ 快捷键说明

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