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

📄 sc4.mdl

📁 用matlab的simulink做的对选择式分集进行的测试 及性能验证。
💻 MDL
📖 第 1 页 / 共 3 页
字号:
      orient		      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [245, 184, 275, 216]
      Location		      [6, 193, 1019, 432]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1]
      Position		      [180, 479, 210, 511]
      Location		      [6, 465, 1024, 704]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope2"
      Ports		      [1]
      Position		      [535, 14, 565, 46]
      Location		      [6, 193, 1019, 432]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      SaveName		      "ScopeData2"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Reference
      Name		      "Signal To\nWorkspace"
      Ports		      [1]
      Position		      [410, 422, 500, 458]
      FontName		      "Arial"
      SourceBlock	      "dspsnks4/Signal To\nWorkspace"
      SourceType	      "Signal To Workspace"
      VariableName	      "BER"
      MaxDataPoints	      "1"
      Decimation	      "1"
      FrameMode		      "Concatenate frames (2-D array)"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [1010, 155, 1030, 175]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|++"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1]
      Position		      [1015, 295, 1035, 315]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|++"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum2"
      Ports		      [2, 1]
      Position		      [1055, 250, 1075, 270]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|++"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Switch Case Action\nSubsystem1"
      Ports		      [1, 1, 0, 0, 0, 0, 0, 1]
      Position		      [925, 148, 995, 182]
      TreatAsAtomicUnit	      on
      System {
	Name			"Switch Case Action\nSubsystem1"
	Location		[319, 422, 817, 722]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [75, 78, 105, 92]
	}
	Block {
	  BlockType		  ActionPort
	  Name			  "Action Port"
	  Position		  [170, 15, 229, 43]
	  InitializeStates	  "reset"
	  ActionType		  "then"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [325, 78, 355, 92]
	  OutputWhenDisabled	  "reset"
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Switch Case Action\nSubsystem2"
      Ports		      [1, 1, 0, 0, 0, 0, 0, 1]
      Position		      [850, 205, 920, 235]
      TreatAsAtomicUnit	      on
      System {
	Name			"Switch Case Action\nSubsystem2"
	Location		[319, 422, 817, 722]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [75, 78, 105, 92]
	}
	Block {
	  BlockType		  ActionPort
	  Name			  "Action Port"
	  Position		  [170, 15, 229, 43]
	  InitializeStates	  "reset"
	  ActionType		  "elseif"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [325, 78, 355, 92]
	  OutputWhenDisabled	  "reset"
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Switch Case Action\nSubsystem3"
      Ports		      [1, 1, 0, 0, 0, 0, 0, 1]
      Position		      [850, 290, 920, 320]
      TreatAsAtomicUnit	      on
      System {
	Name			"Switch Case Action\nSubsystem3"
	Location		[319, 422, 817, 722]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [75, 78, 105, 92]
	}
	Block {
	  BlockType		  ActionPort
	  Name			  "Action Port"
	  Position		  [170, 15, 229, 43]
	  InitializeStates	  "reset"
	  ActionType		  "then"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [325, 78, 355, 92]
	  OutputWhenDisabled	  "reset"
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Switch Case Action\nSubsystem4"
      Ports		      [1, 1, 0, 0, 0, 0, 0, 1]
      Position		      [770, 375, 840, 405]
      TreatAsAtomicUnit	      on
      System {
	Name			"Switch Case Action\nSubsystem4"
	Location		[319, 422, 817, 722]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [75, 78, 105, 92]
	}
	Block {
	  BlockType		  ActionPort
	  Name			  "Action Port"
	  Position		  [170, 15, 229, 43]
	  InitializeStates	  "reset"
	  ActionType		  "elseif"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [325, 78, 355, 92]
	  OutputWhenDisabled	  "reset"
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      ZeroOrderHold
      Name		      "Zero-Order\nHold1"
      Position		      [625, 56, 660, 94]
      SampleTime	      "1e-6/20"
    }
    Block {
      BlockType		      SubSystem
      Name		      "channel"
      Ports		      [1, 1]
      Position		      [310, 320, 410, 380]
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('channel')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"channel"
	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		  [210, 25, 290, 65]
	  ShowName		  off
	  SourceBlock		  "commchan2/AWGN\nChannel"
	  SourceType		  "AWGN Channel"
	  seed			  "103"
	  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		      "channel1"
      Ports		      [1, 1]
      Position		      [310, 240, 410, 300]
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('channel')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"channel1"
	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		  [215, 25, 295, 65]
	  ShowName		  off
	  SourceBlock		  "commchan2/AWGN\nChannel"
	  SourceType		  "AWGN Channel"
	  seed			  "87"
	  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		      "channel2"
      Ports		      [1, 1]
      Position		      [310, 160, 410, 220]
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('channel')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"channel2"
	Location		[131, 281, 521, 505]
	Open			off
	ModelBrowserVisibility	off

⌨️ 快捷键说明

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