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

📄 thpprecodingmodel4by4.mdl

📁 采用THP预编码(QR算法)的simulink仿真链路
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		Points			[10, 0; 0, 125]
		DstBlock		"Product"
		DstPort			1
	      }
	      Branch {
		Points			[0, 50]
		DstBlock		"Memory"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "SNR"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  DiscretePulseGenerator
	  Name			  "NoTransmission2"
	  Position		  [530, 153, 575, 187]
	  SampleTime		  "1e-3"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product5"
	  Ports			  [2, 1]
	  Position		  [365, 271, 410, 304]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product6"
	  Ports			  [2, 1]
	  Position		  [370, 361, 415, 394]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product7"
	  Ports			  [2, 1]
	  Position		  [370, 101, 415, 134]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product8"
	  Ports			  [2, 1]
	  Position		  [370, 191, 415, 224]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [4, 1]
	  Position		  [450, 255, 470, 305]
	  ShowName		  off
	  Inputs		  "|++++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [780, 468, 810, 482]
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Abs2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "Abs3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In3"
	  SrcPort		  1
	  DstBlock		  "Abs"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In4"
	  SrcPort		  1
	  DstBlock		  "Abs1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Average SNR Calculation"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "NoTransmission2"
	  SrcPort		  1
	  Points		  [15, 0; 0, 263]
	  DstBlock		  "Average SNR Calculation"
	  DstPort		  trigger
	}
	Line {
	  SrcBlock		  "Product8"
	  SrcPort		  1
	  Points		  [0, 50; -5, 0; 0, 20]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product7"
	  SrcPort		  1
	  Points		  [5, 0; 0, 150]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "Average SNR Calculation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product6"
	  SrcPort		  1
	  Points		  [5, 0; 0, -80]
	  DstBlock		  "Sum"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Product5"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Abs3"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    Points		    [0, 5]
	    DstBlock		    "Product8"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, -10]
	    DstBlock		    "Product8"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Abs2"
	  SrcPort		  1
	  Points		  [0, -10; 10, 0]
	  Branch {
	    Points		    [0, -5]
	    DstBlock		    "Product7"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [5, 0; 0, 10]
	    DstBlock		    "Product7"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Abs1"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    Points		    [0, 5]
	    DstBlock		    "Product6"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, -10]
	    DstBlock		    "Product6"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Abs"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    Points		    [0, -15]
	    DstBlock		    "Product5"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Product5"
	    DstPort		    2
	  }
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Bernoulli Binary\nGenerator"
      Ports		      [0, 1]
      Position		      [15, 318, 95, 362]
      FontName		      "Arial"
      SourceBlock	      "commrandsrc2/Bernoulli Binary\nGenerator"
      SourceType	      "Bernoulli Binary Generator"
      P			      "0.5"
      seed		      "896896"
      Ts		      "(1e-3)/16"
      frameBased	      on
      sampPerFrame	      "16"
      orient		      off
    }
    Block {
      BlockType		      Display
      Name		      "Display"
      Ports		      [1]
      Position		      [2800, 200, 2890, 280]
      Decimation	      "1"
    }
    Block {
      BlockType		      Display
      Name		      "Display1"
      Ports		      [1]
      Position		      [1230, 592, 1365, 628]
      Format		      "long"
      Decimation	      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Error Rate\nCalculation"
      Ports		      [2, 1]
      Position		      [2535, 258, 2625, 307]
      SourceBlock	      "commsink2/Error Rate\nCalculation"
      SourceType	      "Error Rate Calculation"
      N			      "0"
      st_delay		      "0"
      cp_mode		      "Entire frame"
      subframe		      "[]"
      PMode		      "Port"
      WsName		      "ErrorVec"
      RsMode2		      "off"
      stop		      "off"
      numErr		      "100"
      maxBits		      "1e6"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Fading MIMO Channel"
      Ports		      [4, 4]
      Position		      [1030, 203, 1120, 407]
      TreatAsAtomicUnit	      off
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Fading MIMO Channel"
	Location		[2, 70, 1006, 704]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	212
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "PreodingTx1"
	  Position		  [35, 233, 65, 247]
	}
	Block {
	  BlockType		  Inport
	  Name			  "PreodingTx2"
	  Position		  [25, 808, 55, 822]
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "PreodingTx3"
	  Position		  [20, 1343, 50, 1357]
	  Port			  "3"
	}
	Block {
	  BlockType		  Inport
	  Name			  "PreodingTx4"
	  Position		  [25, 1878, 55, 1892]
	  Port			  "4"
	}
	Block {
	  BlockType		  Reference
	  Name			  "AWGN\nChannel"
	  Ports			  [1, 1]
	  Position		  [1400, 1304, 1480, 1346]
	  SourceBlock		  "commchan2/AWGN\nChannel"
	  SourceType		  "AWGN Channel"
	  seed			  "67"
	  noiseMode		  "Signal to noise ratio  (SNR)"
	  EsNodB		  "10"
	  SNRdB			  "snr"
	  Ps			  "10.6"
	  Tsym			  "1"
	  variance		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "AWGN\nChannel1"
	  Ports			  [1, 1]
	  Position		  [1405, 1924, 1485, 1966]
	  SourceBlock		  "commchan2/AWGN\nChannel"
	  SourceType		  "AWGN Channel"
	  seed			  "123"
	  noiseMode		  "Signal to noise ratio  (SNR)"
	  EsNodB		  "10"
	  SNRdB			  "snr"
	  Ps			  "10.6"
	  Tsym			  "1"
	  variance		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "AWGN\nChannel2"
	  Ports			  [1, 1]
	  Position		  [1365, 654, 1445, 696]
	  SourceBlock		  "commchan2/AWGN\nChannel"
	  SourceType		  "AWGN Channel"
	  seed			  "456"
	  noiseMode		  "Signal to noise ratio  (SNR)"
	  EsNodB		  "10"
	  SNRdB			  "snr"
	  Ps			  "10.6"
	  Tsym			  "1"
	  variance		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "AWGN\nChannel3"
	  Ports			  [1, 1]
	  Position		  [1345, 224, 1425, 266]
	  SourceBlock		  "commchan2/AWGN\nChannel"
	  SourceType		  "AWGN Channel"
	  seed			  "666"
	  noiseMode		  "Signal to noise ratio  (SNR)"
	  EsNodB		  "10"
	  SNRdB			  "snr"
	  Ps			  "10.6"
	  Tsym			  "1"
	  variance		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel"
	  Ports			  [1, 1]
	  Position		  [310, 13, 390, 57]
	  SourceBlock		  "commchan2/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  Fd			  "1"
	  simTs			  "1e-3"
	  delayVec		  "[0]"
	  gainVecdB		  "[0]"
	  normGain		  "on"
	  Seed			  "35548833"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel1"
	  Ports			  [1, 1]
	  Position		  [310, 153, 390, 197]
	  SourceBlock		  "commchan2/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  Fd			  "1"
	  simTs			  "1e-3"
	  delayVec		  "[0]"
	  gainVecdB		  "[0]"
	  normGain		  "on"
	  Seed			  "6633"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel10"
	  Ports			  [1, 1]
	  Position		  [290, 1388, 370, 1432]
	  SourceBlock		  "commchan2/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  Fd			  "1"
	  simTs			  "1e-3"
	  delayVec		  "[0]"
	  gainVecdB		  "[0]"
	  normGain		  "on"
	  Seed			  "123435"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel11"
	  Ports			  [1, 1]
	  Position		  [290, 1513, 370, 1557]
	  SourceBlock		  "commchan2/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  Fd			  "1"
	  simTs			  "1e-3"
	  delayVec		  "[0]"
	  gainVecdB		  "[0]"
	  normGain		  "on"
	  Seed			  "876786"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel12"
	  Ports			  [1, 1]
	  Position		  [295, 1923, 375, 1967]
	  SourceBlock		  "commchan2/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  Fd			  "1"
	  simTs			  "1e-3"
	  delayVec		  "[0]"
	  gainVecdB		  "[0]"
	  normGain		  "on"
	  Seed			  "3434"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel13"
	  Ports			  [1, 1]
	  Position		  [295, 2048, 375, 2092]
	  SourceBlock		  "commchan2/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  Fd			  "1"
	  simTs			  "1e-3"
	  delayVec		  "[0]"
	  gainVecdB		  "[0]"
	  normGain		  "on"
	  Seed			  "9789"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel14"
	  Ports			  [1, 1]
	  Position		  [295, 1658, 375, 1702]
	  SourceBlock		  "commchan2/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  Fd			  "1"
	  simTs			  "1e-3"
	  delayVec		  "[0]"
	  gainVecdB		  "[0]"
	  normGain		  "on"
	  Seed			  "7524"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel15"
	  Ports			  [1, 1]
	  Position		  [295, 1798, 375, 1842]
	  SourceBlock		  "commchan2/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  Fd			  "1"
	  simTs			  "1e-3"
	  delayVec		  "[0]"
	  gainVecdB		  "[0]"
	  normGain		  "on"
	  Seed			  "798686"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel2"
	  Ports			  [1, 1]
	  Position		  [310, 278, 390, 322]
	  SourceBlock		  "commchan2/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  Fd			  "1"
	  simTs			  "1e-3"
	  delayVec		  "[0]"
	  gainVecdB		  "[0]"
	  normGain		  "on"
	  Seed			  "66656"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel3"
	  Ports			  [1, 1]
	  Position		  [310, 403, 390, 447]
	  SourceBlock		  "commchan2/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  Fd			  "1"
	  simTs			  "1e-3"
	  delayVec		  "[0]"
	  gainVecdB		  "[0]"
	  normGain		  "on"
	  Seed			  "7865656"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel4"
	  Ports			  [1, 1]
	  Position		  [295, 588, 375, 632]
	  SourceBlock		  "commchan2/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  Fd			  "1"
	  simTs			  "1e-3"
	  delayVec		  "[0]"
	  gainVecdB		  "[0]"
	  normGain		  "on"
	  Seed			  "233"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel5"
	  Ports			  [1, 1]
	  Position		  [295, 728, 375, 772]
	  SourceBlock		  "commchan2/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  Fd			  "1"
	  simTs			  "1e-3"
	  delayVec		  "[0]"
	  gainVecdB		  "[0]"
	  normGain		  "on"
	  Seed			  "3468767"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel6"
	  Ports			  [1, 1]
	  Position		  [295, 853, 375, 897]
	  SourceBlock		  "commchan2/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  Fd			  "1"
	  simTs			  "1e-3"
	  delayVec		  "[0]"
	  gainVecdB		  "[0]"
	  normGain		  "on"
	  Seed			  "337"
	}

⌨️ 快捷键说明

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