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

📄 sc4.mdl

📁 用matlab的simulink做的对选择式分集进行的测试 及性能验证。
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In"
	  Position		  [25, 38, 55, 52]
	}
	Block {
	  BlockType		  Reference
	  Name			  "AWGN\nChannel1"
	  Ports			  [1, 1]
	  Position		  [205, 25, 285, 65]
	  ShowName		  off
	  SourceBlock		  "commchan2/AWGN\nChannel"
	  SourceType		  "AWGN Channel"
	  seed			  "74"
	  noiseMode		  "Signal to noise ratio  (SNR)"
	  EsNodB		  "40"
	  SNRdB			  "EbNodB"
	  Ps			  "1"
	  Tsym			  "4e-6/80"
	  variance		  "1"
	}
	Block {
	  BlockType		  MATLABFcn
	  Name			  "MATLAB Fcn"
	  Position		  [105, 30, 165, 60]
	  MATLABFcn		  "rice_fading"
	  Output1D		  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out"
	  Position		  [330, 38, 360, 52]
	}
	Line {
	  SrcBlock		  "MATLAB Fcn"
	  SrcPort		  1
	  DstBlock		  "AWGN\nChannel1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In"
	  SrcPort		  1
	  DstBlock		  "MATLAB Fcn"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "AWGN\nChannel1"
	  SrcPort		  1
	  DstBlock		  "Out"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "channel3"
      Ports		      [1, 1]
      Position		      [310, 80, 410, 140]
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('channel')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"channel3"
	Location		[131, 281, 521, 505]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In"
	  Position		  [25, 38, 55, 52]
	}
	Block {
	  BlockType		  Reference
	  Name			  "AWGN\nChannel1"
	  Ports			  [1, 1]
	  Position		  [200, 25, 280, 65]
	  ShowName		  off
	  SourceBlock		  "commchan2/AWGN\nChannel"
	  SourceType		  "AWGN Channel"
	  seed			  "61"
	  noiseMode		  "Signal to noise ratio  (SNR)"
	  EsNodB		  "40"
	  SNRdB			  "EbNodB"
	  Ps			  "1"
	  Tsym			  "4e-6/80"
	  variance		  "1"
	}
	Block {
	  BlockType		  MATLABFcn
	  Name			  "MATLAB Fcn"
	  Position		  [105, 30, 165, 60]
	  MATLABFcn		  "rice_fading"
	  Output1D		  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out"
	  Position		  [330, 38, 360, 52]
	}
	Line {
	  SrcBlock		  "MATLAB Fcn"
	  SrcPort		  1
	  DstBlock		  "AWGN\nChannel1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In"
	  SrcPort		  1
	  DstBlock		  "MATLAB Fcn"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "AWGN\nChannel1"
	  SrcPort		  1
	  DstBlock		  "Out"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Random Integer\nGenerator"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	Points			[0, 0; 0, 90]
	Branch {
	  Points		  [0, 225]
	  DstBlock		  "Error Rate\nCalculation1"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "Scope"
	  DstPort		  1
	}
      }
      Branch {
	DstBlock		"BPSK\nModulator\nBaseband"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "BPSK\nModulator\nBaseband"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	Points			[0, 80; 0, 0]
	Branch {
	  Points		  [0, 80; 0, 0]
	  Branch {
	    Points		    [0, 80]
	    DstBlock		    "channel"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "channel1"
	    DstPort		    1
	  }
	}
	Branch {
	  DstBlock		  "channel2"
	  DstPort		  1
	}
      }
      Branch {
	DstBlock		"channel3"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Abs"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"If"
	DstPort			2
      }
      Branch {
	Points			[0, -60]
	Branch {
	  Points		  [0, -35]
	  DstBlock		  "Scope2"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "MinMax"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Abs1"
      SrcPort		      1
      Points		      [25, 0; 0, -50]
      Branch {
	DstBlock		"If"
	DstPort			3
      }
      Branch {
	Points			[0, -70]
	DstBlock		"MinMax"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Zero-Order\nHold1"
      SrcPort		      1
      Points		      [10, 0; 0, 35]
      Branch {
	DstBlock		"If"
	DstPort			1
      }
      Branch {
	DstBlock		"If1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "channel2"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	DstBlock		"Abs1"
	DstPort			1
      }
      Branch {
	Points			[0, 30; 125, 0]
	Branch {
	  DstBlock		  "Switch Case Action\nSubsystem2"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 20]
	  DstBlock		  "Display4"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "BPSK\nDemodulator\nBaseband"
      SrcPort		      1
      Points		      [-260, 0; 0, -40]
      Branch {
	Points			[0, -45]
	DstBlock		"Error Rate\nCalculation1"
	DstPort			2
      }
      Branch {
	DstBlock		"Scope1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "channel3"
      SrcPort		      1
      Points		      [5, 0; 0, 15]
      Branch {
	DstBlock		"Abs"
	DstPort			1
      }
      Branch {
	Points			[0, 40; 130, 0]
	Branch {
	  DstBlock		  "Switch Case Action\nSubsystem1"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "Display"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "MinMax"
      SrcPort		      1
      DstBlock		      "Zero-Order\nHold1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "channel1"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	DstBlock		"Abs2"
	DstPort			1
      }
      Branch {
	Points			[0, 35; 130, 0]
	Branch {
	  DstBlock		  "Switch Case Action\nSubsystem3"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "Display2"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "channel"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	DstBlock		"Abs3"
	DstPort			1
      }
      Branch {
	Points			[0, 40; 130, 0]
	Branch {
	  DstBlock		  "Switch Case Action\nSubsystem4"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "Display1"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Abs2"
      SrcPort		      1
      Points		      [35, 0]
      Branch {
	DstBlock		"If1"
	DstPort			2
      }
      Branch {
	Points			[0, -195]
	DstBlock		"MinMax"
	DstPort			3
      }
    }
    Line {
      SrcBlock		      "Abs3"
      SrcPort		      1
      Points		      [45, 0; 0, -65]
      Branch {
	DstBlock		"If1"
	DstPort			3
      }
      Branch {
	Points			[0, -205]
	DstBlock		"MinMax"
	DstPort			4
      }
    }
    Line {
      SrcBlock		      "If"
      SrcPort		      1
      Points		      [160, 0]
      DstBlock		      "Switch Case Action\nSubsystem1"
      DstPort		      ifaction
    }
    Line {
      SrcBlock		      "If"
      SrcPort		      2
      Points		      [85, 0]
      DstBlock		      "Switch Case Action\nSubsystem2"
      DstPort		      ifaction
    }
    Line {
      SrcBlock		      "If1"
      SrcPort		      1
      Points		      [90, 0]
      DstBlock		      "Switch Case Action\nSubsystem3"
      DstPort		      ifaction
    }
    Line {
      SrcBlock		      "If1"
      SrcPort		      2
      Points		      [10, 0]
      DstBlock		      "Switch Case Action\nSubsystem4"
      DstPort		      ifaction
    }
    Line {
      SrcBlock		      "Switch Case Action\nSubsystem1"
      SrcPort		      1
      DstBlock		      "Sum"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Switch Case Action\nSubsystem2"
      SrcPort		      1
      Points		      [95, 0]
      DstBlock		      "Sum"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Switch Case Action\nSubsystem3"
      SrcPort		      1
      DstBlock		      "Sum1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Switch Case Action\nSubsystem4"
      SrcPort		      1
      Points		      [180, 0]
      DstBlock		      "Sum1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Error Rate\nCalculation1"
      SrcPort		      1
      Points		      [25, 0]
      Branch {
	DstBlock		"Signal To\nWorkspace"
	DstPort			1
      }
      Branch {
	Points			[0, 55]
	DstBlock		"Display5"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      Points		      [25, 0]
      DstBlock		      "Sum2"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      Points		      [5, 0]
      DstBlock		      "Sum2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum2"
      SrcPort		      1
      Points		      [5, 0; 0, 275; -275, 0]
      Branch {
	DstBlock		"BPSK\nDemodulator\nBaseband"
	DstPort			1
      }
      Branch {
	Points			[0, -40]
	DstBlock		"Display3"
	DstPort			1
      }
    }
  }
}

⌨️ 快捷键说明

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