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

📄 ordinarily_ofdm_awgn_ber.mdl

📁 利用MATLAB实现OFDM系统中AWGN信道
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		}
		Line {
		  SrcBlock		  "Relational\nOperator1"
		  SrcPort		  1
		  DstBlock		  "Data Type Conversion"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "Relational\nOperator"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Data Type Conversion"
		  SrcPort		  1
		  Points		  [35, 0]
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Annotation {
		  Name			  "PAPR > Th dB"
		  Position		  [212, 28]
		  ForegroundColor	  "red"
		}
		Annotation {
		  Name			  "PAPR < Th dB"
		  Position		  [222, 173]
		  ForegroundColor	  "red"
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Compare_lx8"
	      Ports		      [1, 1, 0, 1]
	      Position		      [485, 391, 530, 449]
	      ShowName		      off
	      TreatAsAtomicUnit	      on
	      MaskType		      "OFDM PAPR Compare_lx"
	      MaskPromptString	      "PAPR_Th(dB)"
	      MaskStyleString	      "edit"
	      MaskTunableValueString  "on"
	      MaskEnableString	      "on"
	      MaskVisibilityString    "on"
	      MaskToolTipString	      "on"
	      MaskVariables	      "Th=@1;"
	      MaskDisplay	      "disp('Compare\\nlx')"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      MaskValueString	      "PAPR_Th0+7*D"
	      System {
		Name			"Compare_lx8"
		Location		[563, 227, 971, 422]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [85, 88, 115, 102]
		}
		Block {
		  BlockType		  TriggerPort
		  Name			  "Trigger"
		  Ports			  []
		  Position		  [70, 15, 90, 35]
		  TriggerType		  "either"
		}
		Block {
		  BlockType		  Constant
		  Name			  "Constant"
		  Position		  [105, 127, 125, 153]
		  ShowName		  off
		  Value			  "Th"
		}
		Block {
		  BlockType		  Constant
		  Name			  "Constant1"
		  Position		  [160, 42, 180, 68]
		  ShowName		  off
		  ShowAdditionalParam	  on
		  OutDataTypeMode	  "boolean"
		}
		Block {
		  BlockType		  DataTypeConversion
		  Name			  "Data Type Conversion"
		  Position		  [270, 51, 310, 79]
		  ShowName		  off
		  DataType		  "double"
		}
		Block {
		  BlockType		  RelationalOperator
		  Name			  "Relational\nOperator"
		  Position		  [150, 87, 180, 118]
		  ShowName		  off
		  ShowAdditionalParam	  on
		  LogicOutDataTypeMode	  "Boolean"
		}
		Block {
		  BlockType		  RelationalOperator
		  Name			  "Relational\nOperator1"
		  Position		  [205, 47, 235, 78]
		  ShowName		  off
		  Operator		  "=="
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [355, 53, 385, 67]
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "Relational\nOperator"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Relational\nOperator1"
		  SrcPort		  1
		  DstBlock		  "Data Type Conversion"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Constant1"
		  SrcPort		  1
		  DstBlock		  "Relational\nOperator1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Relational\nOperator"
		  SrcPort		  1
		  Points		  [5, 0]
		  DstBlock		  "Relational\nOperator1"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Constant"
		  SrcPort		  1
		  Points		  [5, 0]
		  DstBlock		  "Relational\nOperator"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Data Type Conversion"
		  SrcPort		  1
		  Points		  [25, 0]
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Annotation {
		  Name			  "PAPR > Th dB"
		  Position		  [212, 28]
		  ForegroundColor	  "red"
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Compare_lx9"
	      Ports		      [1, 1, 0, 1]
	      Position		      [485, 466, 530, 524]
	      ShowName		      off
	      TreatAsAtomicUnit	      on
	      MaskType		      "OFDM PAPR Compare_lx"
	      MaskPromptString	      "PAPR_Th(dB)"
	      MaskStyleString	      "edit"
	      MaskTunableValueString  "on"
	      MaskEnableString	      "on"
	      MaskVisibilityString    "on"
	      MaskToolTipString	      "on"
	      MaskVariables	      "Th=@1;"
	      MaskDisplay	      "disp('Compare\\nlx')"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      MaskValueString	      "PAPR_Th0+9*D"
	      System {
		Name			"Compare_lx9"
		Location		[563, 227, 971, 422]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [85, 88, 115, 102]
		}
		Block {
		  BlockType		  TriggerPort
		  Name			  "Trigger"
		  Ports			  []
		  Position		  [70, 15, 90, 35]
		  TriggerType		  "either"
		}
		Block {
		  BlockType		  Constant
		  Name			  "Constant"
		  Position		  [105, 127, 125, 153]
		  ShowName		  off
		  Value			  "Th"
		}
		Block {
		  BlockType		  Constant
		  Name			  "Constant1"
		  Position		  [160, 42, 180, 68]
		  ShowName		  off
		  ShowAdditionalParam	  on
		  OutDataTypeMode	  "boolean"
		}
		Block {
		  BlockType		  DataTypeConversion
		  Name			  "Data Type Conversion"
		  Position		  [270, 51, 310, 79]
		  ShowName		  off
		  DataType		  "double"
		}
		Block {
		  BlockType		  RelationalOperator
		  Name			  "Relational\nOperator"
		  Position		  [150, 87, 180, 118]
		  ShowName		  off
		  ShowAdditionalParam	  on
		  LogicOutDataTypeMode	  "Boolean"
		}
		Block {
		  BlockType		  RelationalOperator
		  Name			  "Relational\nOperator1"
		  Position		  [205, 47, 235, 78]
		  ShowName		  off
		  Operator		  "=="
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [365, 63, 395, 77]
		}
		Line {
		  SrcBlock		  "Constant"
		  SrcPort		  1
		  Points		  [5, 0]
		  DstBlock		  "Relational\nOperator"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Relational\nOperator"
		  SrcPort		  1
		  Points		  [5, 0]
		  DstBlock		  "Relational\nOperator1"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Constant1"
		  SrcPort		  1
		  DstBlock		  "Relational\nOperator1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Relational\nOperator1"
		  SrcPort		  1
		  DstBlock		  "Data Type Conversion"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "Relational\nOperator"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Data Type Conversion"
		  SrcPort		  1
		  Points		  [35, 0]
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Annotation {
		  Name			  "PAPR > Th dB"
		  Position		  [212, 28]
		  ForegroundColor	  "red"
		}
		Annotation {
		  Name			  "PAPR < Th dB"
		  Position		  [222, 173]
		  ForegroundColor	  "red"
		}
	      }
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Counter"
	      Ports		      [1, 1]
	      Position		      [150, 167, 215, 203]
	      ShowName		      off
	      SourceBlock	      "dspswit3/Counter"
	      SourceType	      "Counter"
	      Direction		      "Up"
	      CountEvent	      "Non-zero sample"
	      CounterSize	      "User defined"
	      MaxCount		      "round(T_stop/T_symbol)+10"
	      InitialCount	      "0"
	      Output		      "Count"
	      HitValue		      "32"
	      ResetInput	      off
	      SamplesPerFrame	      "1"
	      Ts		      "1"
	      CntDtype		      "Double"
	      HitDtype		      "Logical"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Counter10"
	      Ports		      [1, 1]
	      Position		      [545, 187, 610, 223]
	      ShowName		      off
	      SourceBlock	      "dspswit3/Counter"
	      SourceType	      "Counter"
	      Direction		      "Up"
	      CountEvent	      "Non-zero sample"
	      CounterSize	      "User defined"
	      MaxCount		      "round(T_stop/T_symbol)+10"
	      InitialCount	      "0"
	      Output		      "Count"
	      HitValue		      "32"
	      ResetInput	      off
	      SamplesPerFrame	      "1"
	      Ts		      "1"
	      CntDtype		      "Double"
	      HitDtype		      "Logical"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Counter12"
	      Ports		      [1, 1]
	      Position		      [545, 262, 610, 298]
	      ShowName		      off
	      SourceBlock	      "dspswit3/Counter"
	      SourceType	      "Counter"
	      Direction		      "Up"
	      CountEvent	      "Non-zero sample"
	      CounterSize	      "User defined"
	      MaxCount		      "round(T_stop/T_symbol)+10"
	      InitialCount	      "0"
	      Output		      "Count"
	      HitValue		      "32"
	      ResetInput	      off
	      SamplesPerFrame	      "1"
	      Ts		      "1"
	      CntDtype		      "Double"
	      HitDtype		      "Logical"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Counter14"
	      Ports		      [1, 1]
	      Position		      [555, 352, 620, 388]
	      ShowName		      off
	      SourceBlock	      "dspswit3/Counter"
	      SourceType	      "Counter"
	      Direction		      "Up"
	      CountEvent	      "Non-zero sample"
	      CounterSize	      "User defined"
	      MaxCount		      "round(T_stop/T_symbol)+10"
	      InitialCount	      "0"
	      Output		      "Count"
	      HitValue		      "32"
	      ResetInput	      off
	      SamplesPerFrame	      "1"
	      Ts		      "1"
	      CntDtype		      "Double"
	      HitDtype		      "Logical"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Counter16"
	      Ports		      [1, 1]
	      Position		      [545, 412, 610, 448]
	      ShowName		      off
	      SourceBlock	      "dspswit3/Counter"
	      SourceType	      "Counter"
	      Direction		      "Up"
	      CountEvent	      "Non-zero sample"
	      CounterSize	      "User defined"
	      MaxCount		      "round(T_stop/T_symbol)+10"
	      InitialCount	      "0"
	      Output		      "Count"
	      HitValue		      "32"
	      ResetInput	      off
	      SamplesPerFrame	      "1"
	      Ts		      "1"
	      CntDtype		      "Double"
	      HitDtype		      "Logical"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Counter18"
	      Ports		      [1, 1]
	      Position		      [545, 507, 610, 543]
	      ShowName		      off
	      SourceBlock	      "dspswit3/Counter"
	      SourceType	      "Counter"
	      Direction		      "Up"
	      CountEvent	      "Non-zero sample"
	      CounterSize	      "User defined"
	      MaxCount		      "round(T_stop/T_symbol)+10"
	      InitialCount	      "0"
	      Output		      "Count"
	      HitValue		      "32"
	      ResetInput	      off
	      SamplesPerFrame	      "1"
	      Ts		      "1"
	      CntDtype		      "Double"
	      HitDtype		      "Logical"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Counter2"
	      Ports		      [1, 1]
	      Position		      [150, 242, 215, 278]
	      ShowName		      off
	      SourceBlock	      "dspswit3/Counter"
	      SourceType	      "Counter"
	      Direction		      "Up"
	      CountEvent	      "Non-zero sample"
	      CounterSize	      "User defined"
	      MaxCount		      "round(T_stop/T_symbol)+10"
	      InitialCount	      "0"
	      Output		      "Count"
	      HitValue		      "32"
	      ResetInput	      off
	      SamplesPerFrame	      "1"
	      Ts		      "1"
	      CntDtype		      "Double"
	      HitDtype		      "Logical"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Counter4"
	      Ports		      [1, 1]
	      Position		      [160, 317, 225, 353]
	      ShowName		      off
	      SourceBlock	      "dspswit3/Counter"
	      SourceType	      "Counter"
	      Direction		      "Up"
	      CountEvent	      "Non-zero sample"
	      CounterSize	      "User defined"
	      MaxCount		      "round(T_stop/T_symbol)+10"
	      InitialCount	      "0"
	      Output		      "Count"
	      HitValue		      "32"
	      ResetInput	      off
	      SamplesPerFrame	      "1"
	      Ts		      "1"
	      CntDtype		      "Double"
	      HitDtype		      "Logical"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Counter6"
	      Ports		      [1, 1]
	      Position		      [165, 377, 230, 413]
	      ShowName		      off
	      SourceBlock	      "dspswit3/Counter"
	      SourceType	      "Counter"
	      Direction		      "Up"
	      CountEvent	      "Non-zero sample"
	      CounterSize	      "User defined"
	      MaxCount		      "round(T_stop/T_symbol)+10"
	      InitialCount	      "0"
	      Output		      "Count"
	      HitValue		      "32"
	      ResetInput	      off
	      SamplesPerFrame	      "1"
	      Ts		      "

⌨️ 快捷键说明

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