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

📄 ofdm_eqcompand.mdl

📁 OFDM限幅类峰均比,用于仿真OFDM系统中的限幅类峰均比。
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	}
	Line {
	  SrcBlock		  "Abs"
	  SrcPort		  1
	  Points		  [0, 0; 15, 0]
	  Branch {
	    DstBlock		    "S-Function"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 40]
	    Branch {
	      DstBlock		      "Switch1"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 10]
	      Branch {
		Points			[0, 95]
		DstBlock		"Switch"
		DstPort			2
	      }
	      Branch {
		DstBlock		"Switch1"
		DstPort			2
	      }
	    }
	  }
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [30, 0; 0, 190; -330, 0; 0, 30]
	  DstBlock		  "Product1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction2"
	  SrcPort		  1
	  Points		  [35, 0; 0, 85]
	  DstBlock		  "Switch"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [35, 0; 0, -20]
	  DstBlock		  "Switch"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Switch"
	  SrcPort		  1
	  Points		  [35, 0; 0, -85]
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Switch1"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [20, 0; 0, -25]
	  DstBlock		  "Switch1"
	  DstPort		  3
	}
      }
    }
    Block {
      BlockType		      DigitalClock
      Name		      "Digital Clock"
      Position		      [255, 142, 315, 158]
      ShowName		      off
      SampleTime	      "8e-5"
    }
    Block {
      BlockType		      Display
      Name		      "Display"
      Ports		      [1]
      Position		      [420, 338, 510, 402]
      BackgroundColor	      "yellow"
      Decimation	      "1"
    }
    Block {
      BlockType		      Display
      Name		      "Display1"
      Ports		      [1]
      Position		      [615, 130, 705, 160]
      BackgroundColor	      "cyan"
      Decimation	      "1"
    }
    Block {
      BlockType		      Display
      Name		      "Display2"
      Ports		      [1]
      Position		      [355, 138, 430, 162]
      ShowName		      off
      FontSize		      9
      Decimation	      "1"
    }
    Block {
      BlockType		      SubSystem
      Name		      "EVLC"
      Ports		      [1, 1]
      Position		      [640, 253, 710, 297]
      BackgroundColor	      "yellow"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('EVLC');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"EVLC"
	Location		[2, 82, 790, 549]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [40, 183, 70, 197]
	  BackgroundColor	  "green"
	}
	Block {
	  BlockType		  Abs
	  Name			  "Abs"
	  Position		  [130, 50, 160, 80]
	  BackgroundColor	  "yellow"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [450, 220, 480, 250]
	  BackgroundColor	  "yellow"
	  Value			  "0.0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [220, 140, 250, 170]
	  BackgroundColor	  "yellow"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction2"
	  Ports			  [1, 1]
	  Position		  [440, 105, 470, 135]
	  BackgroundColor	  "yellow"
	  Operator		  "reciprocal"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [645, 71, 690, 104]
	  BackgroundColor	  "yellow"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [400, 316, 445, 349]
	  BackgroundColor	  "yellow"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "S-Function"
	  Ports			  [1, 1]
	  Position		  [395, 50, 455, 80]
	  BackgroundColor	  "yellow"
	  FunctionName		  "evc"
	  Parameters		  "0.0332,0.65"
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [530, 190, 560, 220]
	  BackgroundColor	  "yellow"
	  Criteria		  "u2 > Threshold"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch1"
	  Position		  [340, 105, 370, 135]
	  BackgroundColor	  "yellow"
	  Criteria		  "u2 > Threshold"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [530, 328, 560, 342]
	  BackgroundColor	  "green"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [30, 0]
	  Branch {
	    Points		    [0, -125]
	    DstBlock		    "Abs"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 150]
	    DstBlock		    "Product1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Abs"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "S-Function"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 45]
	    Branch {
	      DstBlock		      "Switch1"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 10]
	      Branch {
		Points			[0, 85]
		DstBlock		"Switch"
		DstPort			2
	      }
	      Branch {
		DstBlock		"Switch1"
		DstPort			2
	      }
	    }
	  }
	}
	Line {
	  SrcBlock		  "S-Function"
	  SrcPort		  1
	  Points		  [145, 0; 0, 15]
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [50, 0; 0, 205; -450, 0; 0, 30]
	  DstBlock		  "Product1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Switch"
	  SrcPort		  1
	  Points		  [35, 0; 0, -110]
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Math\nFunction2"
	  SrcPort		  1
	  Points		  [40, 0]
	  DstBlock		  "Switch"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [15, 0; 0, -20]
	  DstBlock		  "Switch"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [35, 0; 0, -25]
	  DstBlock		  "Switch1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Switch1"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction2"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Error Rate\nCalculation"
      Ports		      [2, 1]
      Position		      [285, 342, 360, 393]
      BackgroundColor	      "yellow"
      SourceBlock	      "commsink2/Error Rate\nCalculation"
      SourceType	      "Error Rate Calculation"
      N			      "128"
      st_delay		      "0"
      cp_mode		      "Entire frame"
      subframe		      "[]"
      PMode		      "Port"
      WsName		      "ErrorVec"
      RsMode2		      off
      stop		      off
      numErr		      "100"
      maxBits		      "1e6"
    }
    Block {
      BlockType		      Reference
      Name		      "FFT"
      Ports		      [1, 1]
      Position		      [615, 490, 655, 520]
      Orientation	      "left"
      BackgroundColor	      "yellow"
      NamePlacement	      "alternate"
      SourceBlock	      "dspxfrm3/FFT"
      SourceType	      "FFT"
      CompMethod	      "Table lookup"
      TableOpt		      "Speed"
      BitRevOrder	      off
    }
    Block {
      BlockType		      Reference
      Name		      "Frame Status\nConversion"
      Ports		      [1, 1]
      Position		      [385, 489, 435, 521]
      Orientation	      "left"
      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		      [520, 259, 560, 291]
      BackgroundColor	      "yellow"
      SourceBlock	      "dspxfrm3/IFFT"
      SourceType	      "IFFT"
      CompMethod	      "Table lookup"
      TableOpt		      "Speed"
      BitRevOrder	      off
      cs_in		      off
      SkipNorm		      off
      mode		      "Complex"
    }
    Block {
      BlockType		      SubSystem
      Name		      "PAR after"
      Ports		      [1]
      Position		      [785, 334, 885, 376]
      BackgroundColor	      "yellow"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('PAR after')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"PAR after"
	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		  [45, 103, 75, 117]
	  BackgroundColor	  "green"
	}
	Block {
	  BlockType		  Abs
	  Name			  "Abs"
	  Position		  [175, 95, 205, 125]
	  BackgroundColor	  "yellow"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction1"
	  Ports			  [1, 1]
	  Position		  [240, 95, 270, 125]
	  BackgroundColor	  "yellow"
	  Operator		  "square"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction2"
	  Ports			  [1, 1]
	  Position		  [460, 170, 490, 200]
	  BackgroundColor	  "yellow"
	  Operator		  "reciprocal"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Maximum"
	  Ports			  [1, 1]
	  Position		  [375, 90, 430, 130]
	  BackgroundColor	  "yellow"
	  SourceBlock		  "dspstat3/Maximum"
	  SourceType		  "Maximum"
	  fcn			  "Value"
	  reset			  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Mean"
	  Ports			  [1, 1]
	  Position		  [350, 165, 405, 205]
	  BackgroundColor	  "yellow"
	  SourceBlock		  "dspstat3/Mean"
	  SourceType		  "Mean"
	  run			  off
	  reset_popup		  "None"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [600, 131, 645, 164]
	  BackgroundColor	  "yellow"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace"
	  Position		  [690, 135, 750, 165]
	  BackgroundColor	  "lightBlue"
	  VariableName		  "par_EVC"
	  MaxDataPoints		  "inf"
	  SampleTime		  "-1"
	  SaveFormat		  "Array"
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace1"
	  Position		  [150, 302, 260, 348]
	  BackgroundColor	  "lightBlue"
	  VariableName		  "ofdm_signal_EVC"
	  MaxDataPoints		  "inf"
	  SampleTime		  "-1"
	  SaveFormat		  "Array"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [35, 0]
	  Branch {
	    Points		    [0, 215]
	    DstBlock		    "To Workspace1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Abs"
	    DstPort		    1
	  }

⌨️ 快捷键说明

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