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

📄 ofdm_mulaw_ba.mdl

📁 OFDM限幅类峰均比,用于仿真OFDM系统中的限幅类峰均比。
💻 MDL
📖 第 1 页 / 共 3 页
字号:
    Block {
      BlockType		      Reference
      Name		      "IFFT"
      Ports		      [1, 1]
      Position		      [465, 189, 505, 221]
      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		      "Mu law"
      Description	      "complex u law compressor"
      Ports		      [1, 1]
      Position		      [595, 183, 650, 227]
      BackgroundColor	      "yellow"
      TreatAsAtomicUnit	      off
      MaskType		      "Mu Law Compander"
      MaskDescription	      "This is a Mu Law Compander which could extract "
"the maximal magnitude of a frame-based input."
      MaskHelp		      "The input is frame-based and the input will be "
"companded by framed-wise."
      MaskPromptString	      "Mu Value|Compander Flag"
      MaskStyleString	      "edit,popup(Compressor|Expander)"
      MaskTunableValueString  "on,on"
      MaskCallbackString      "|"
      MaskEnableString	      "on,on"
      MaskVisibilityString    "on,on"
      MaskToolTipString	      "on,on"
      MaskVarAliasString      ","
      MaskVariables	      "Mu=@1;compFlag=@2;"
      MaskDisplay	      "disp('Mu law')\n"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "1|Compressor"
      System {
	Name			"Mu law"
	Location		[0, 88, 788, 570]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [30, 58, 60, 72]
	  BackgroundColor	  "green"
	}
	Block {
	  BlockType		  Abs
	  Name			  "Abs1"
	  Position		  [105, 50, 135, 80]
	  BackgroundColor	  "yellow"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [390, 200, 420, 230]
	  BackgroundColor	  "yellow"
	  Value			  "0.0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [260, 125, 290, 155]
	  BackgroundColor	  "yellow"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion"
	  Ports			  [1, 1]
	  Position		  [165, 47, 215, 83]
	  BackgroundColor	  "yellow"
	  SourceBlock		  "dspsigattribs/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  growRefPort		  off
	  outframe		  "Sample-based"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction2"
	  Ports			  [1, 1]
	  Position		  [400, 100, 430, 130]
	  BackgroundColor	  "yellow"
	  Operator		  "reciprocal"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Mu-Law\nCompressor"
	  Ports			  [1, 1]
	  Position		  [455, 46, 520, 84]
	  BackgroundColor	  "yellow"
	  SourceBlock		  "commsrccod2/Mu-Law\nCompressor"
	  SourceType		  "Mu-Law Compressor"
	  mu			  "Mu"
	  V			  "0.0277"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [630, 101, 675, 134]
	  BackgroundColor	  "yellow"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [385, 276, 430, 309]
	  BackgroundColor	  "yellow"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [510, 170, 540, 200]
	  BackgroundColor	  "yellow"
	  Criteria		  "u2 > Threshold"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch1"
	  Position		  [335, 100, 365, 130]
	  BackgroundColor	  "yellow"
	  Criteria		  "u2 > Threshold"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [495, 288, 525, 302]
	  BackgroundColor	  "green"
	}
	Line {
	  SrcBlock		  "Mu-Law\nCompressor"
	  SrcPort		  1
	  Points		  [20, 0; 0, 45]
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Abs1"
	  SrcPort		  1
	  DstBlock		  "Frame Status\nConversion"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [35, 0; 0, 130; -390, 0; 0, 35]
	  DstBlock		  "Product1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction2"
	  SrcPort		  1
	  Points		  [25, 0; 0, 60]
	  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, -60]
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [0, 0; 15, 0]
	  Branch {
	    DstBlock		    "Abs1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 235]
	    DstBlock		    "Product1"
	    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		  [10, 0; 0, -15]
	  DstBlock		  "Switch1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Frame Status\nConversion"
	  SrcPort		  1
	  Points		  [25, 0]
	  Branch {
	    Points		    [0, 40]
	    Branch {
	      DstBlock		      "Switch1"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 10]
	      Branch {
		Points			[0, 70]
		DstBlock		"Switch"
		DstPort			2
	      }
	      Branch {
		DstBlock		"Switch1"
		DstPort			2
	      }
	    }
	  }
	  Branch {
	    DstBlock		    "Mu-Law\nCompressor"
	    DstPort		    1
	  }
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Mu law1"
      Description	      "complex u law compressor"
      Ports		      [1, 1]
      Position		      [680, 415, 740, 455]
      Orientation	      "left"
      BackgroundColor	      "yellow"
      NamePlacement	      "alternate"
      TreatAsAtomicUnit	      off
      MaskType		      "Mu Law Compander"
      MaskDescription	      "This is a Mu Law Compander which could extract "
"the maximal magnitude of a frame-based input."
      MaskHelp		      "The input is frame-based and the input will be "
"companded by framed-wise."
      MaskPromptString	      "Mu Value|Compander Flag"
      MaskStyleString	      "edit,popup(Compressor|Expander)"
      MaskTunableValueString  "on,on"
      MaskCallbackString      "|"
      MaskEnableString	      "on,on"
      MaskVisibilityString    "on,on"
      MaskToolTipString	      "on,on"
      MaskVarAliasString      ","
      MaskVariables	      "Mu=@1;compFlag=@2;"
      MaskDisplay	      "disp('Mu law')\n"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "1|Expander"
      System {
	Name			"Mu law1"
	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		  [15, 78, 45, 92]
	  BackgroundColor	  "green"
	}
	Block {
	  BlockType		  Abs
	  Name			  "Abs"
	  Position		  [115, 70, 145, 100]
	  BackgroundColor	  "yellow"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [435, 225, 465, 255]
	  BackgroundColor	  "yellow"
	  Value			  "0.0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [280, 150, 310, 180]
	  BackgroundColor	  "yellow"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion"
	  Ports			  [1, 1]
	  Position		  [180, 67, 230, 103]
	  BackgroundColor	  "yellow"
	  SourceBlock		  "dspsigattribs/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  growRefPort		  off
	  outframe		  "Sample-based"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction2"
	  Ports			  [1, 1]
	  Position		  [435, 120, 465, 150]
	  BackgroundColor	  "yellow"
	  Operator		  "reciprocal"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Mu-Law\nExpander"
	  Ports			  [1, 1]
	  Position		  [485, 66, 545, 104]
	  BackgroundColor	  "yellow"
	  SourceBlock		  "commsrccod2/Mu-Law\nExpander"
	  SourceType		  "Mu-Law Expander"
	  mu			  "Mu"
	  V			  "0.0277"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [675, 121, 720, 154]
	  BackgroundColor	  "yellow"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [430, 296, 475, 329]
	  BackgroundColor	  "yellow"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [555, 195, 585, 225]
	  BackgroundColor	  "yellow"
	  Criteria		  "u2 > Threshold"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch1"
	  Position		  [360, 120, 390, 150]
	  BackgroundColor	  "yellow"
	  Criteria		  "u2 > Threshold"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [540, 308, 570, 322]
	  BackgroundColor	  "green"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [0, 0; 35, 0]
	  Branch {
	    DstBlock		    "Abs"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 235]
	    DstBlock		    "Product1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Mu-Law\nExpander"
	  SrcPort		  1
	  Points		  [40, 0; 0, 45]
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Abs"
	  SrcPort		  1
	  DstBlock		  "Frame Status\nConversion"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [30, 0; 0, 140; -400, 0; 0, 25]
	  DstBlock		  "Product1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction2"
	  SrcPort		  1
	  Points		  [35, 0; 0, 65]
	  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, -65]
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {

⌨️ 快捷键说明

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