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

📄 ch3example25.mdl

📁 清华大学出版社 邵玉斌编写的《通信系统建模与仿真实例分析》一书的所有MATLAB和SIMULINK代码
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      Ports		      [1, 1]
      Position		      [170, 69, 250, 111]
      SourceBlock	      "commchan2/AWGN\nChannel"
      SourceType	      "AWGN Channel"
      seed		      "67"
      noiseMode		      "Variance from mask"
      EsNodB		      "10"
      SNRdB		      "10"
      Ps		      "1"
      Tsym		      "1"
      variance		      "0.01"
    }
    Block {
      BlockType		      Reference
      Name		      "Analog\nFilter Design1"
      Ports		      [1, 1]
      Position		      [560, 22, 625, 78]
      SourceBlock	      "dsparch4/Analog\nFilter Design"
      SourceType	      "Analog Filter Design"
      method		      "Butterworth"
      filttype		      "Lowpass"
      N			      "2"
      Wlo		      "2*pi*1e3"
      Whi		      "2*pi*22e3"
      Rp		      "2"
      Rs		      "40"
    }
    Block {
      BlockType		      Reference
      Name		      "Analog\nFilter Design2"
      Ports		      [1, 1]
      Position		      [560, 187, 625, 243]
      SourceBlock	      "dsparch4/Analog\nFilter Design"
      SourceType	      "Analog Filter Design"
      method		      "Butterworth"
      filttype		      "Lowpass"
      N			      "2"
      Wlo		      "2*pi*1e3"
      Whi		      "2*pi*22e3"
      Rp		      "2"
      Rs		      "40"
      Port {
	PortNumber		1
	Name			"解调输出"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Analytic Signal"
      Ports		      [1, 1]
      Position		      [425, 102, 475, 138]
      Orientation	      "left"
      SourceBlock	      "dspxfrm3/Analytic Signal"
      SourceType	      "Analytic Signal"
      N			      "100"
    }
    Block {
      BlockType		      ComplexToRealImag
      Name		      "Complex to\nReal-Imag"
      Ports		      [1, 2]
      Position		      [360, 99, 405, 141]
      Orientation	      "left"
      Output		      "Real and imag"
    }
    Block {
      BlockType		      Product
      Name		      "Product"
      Ports		      [2, 1]
      Position		      [105, 71, 150, 104]
      InputSameDT	      off
    }
    Block {
      BlockType		      Product
      Name		      "Product1"
      Ports		      [2, 1]
      Position		      [400, 31, 445, 64]
      InputSameDT	      off
    }
    Block {
      BlockType		      Product
      Name		      "Product2"
      Ports		      [2, 1]
      Position		      [400, 196, 445, 229]
      InputSameDT	      off
    }
    Block {
      BlockType		      Product
      Name		      "Product3"
      Ports		      [2, 1]
      Position		      [640, 101, 685, 134]
      Orientation	      "left"
      InputSameDT	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [3]
      Position		      [280, 103, 310, 137]
      Orientation	      "left"
      Location		      [50, 399, 398, 664]
      Open		      on
      NumInputPorts	      "3"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
	axes3			""
      }
      TimeRange		      "0.001"
      YMin		      "-1~-1~-1"
      YMax		      "1~1~1"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope2"
      Ports		      [2]
      Position		      [745, 26, 775, 59]
      Location		      [406, 398, 733, 665]
      Open		      on
      NumInputPorts	      "2"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
      }
      TimeRange		      "0.002"
      YMin		      "-1~-0.5"
      YMax		      "1~0.5"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      SignalGenerator
      Name		      "Signal\nGenerator"
      Position		      [15, 65, 45, 95]
      Frequency		      "1000"
      Port {
	PortNumber		1
	Name			"基带"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      SignalGenerator
      Name		      "Signal\nGenerator1"
      Position		      [15, 145, 45, 175]
      Frequency		      "10000"
      Port {
	PortNumber		1
	Name			"载波"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Voltage-Controlled\nOscillator"
      Ports		      [1, 1]
      Position		      [555, 106, 620, 134]
      Orientation	      "left"
      FontName		      "Arial"
      FontSize		      10
      SourceBlock	      "commcontsrc2/Voltage-Controlled\nOscillator"
      SourceType	      "Voltage-Controlled Oscillator"
      Ac		      "1"
      Fc		      "10150"
      Kc		      "8000"
      Ph		      "0"
    }
    Block {
      BlockType		      ZeroOrderHold
      Name		      "Zero-Order\nHold"
      Position		      [500, 101, 535, 139]
      Orientation	      "left"
      SampleTime	      "1e-6"
    }
    Line {
      Name		      "基带"
      Labels		      [1, 0]
      SrcBlock		      "Signal\nGenerator"
      SrcPort		      1
      Points		      [35, 0]
      Branch {
	DstBlock		"Product"
	DstPort			1
      }
      Branch {
	Points			[0, -70; 585, 0; 0, 25]
	DstBlock		"Scope2"
	DstPort			1
      }
    }
    Line {
      Name		      "载波"
      SrcBlock		      "Signal\nGenerator1"
      SrcPort		      1
      Points		      [25, 0]
      Branch {
	Labels			[1, 0]
	Points			[0, -65]
	DstBlock		"Product"
	DstPort			2
      }
      Branch {
	Points			[250, 0]
	DstBlock		"Scope1"
	DstPort			3
      }
    }
    Line {
      SrcBlock		      "Product"
      SrcPort		      1
      DstBlock		      "AWGN\nChannel"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Voltage-Controlled\nOscillator"
      SrcPort		      1
      DstBlock		      "Zero-Order\nHold"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Analytic Signal"
      SrcPort		      1
      DstBlock		      "Complex to\nReal-Imag"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Product1"
      SrcPort		      1
      Points		      [95, 0]
      DstBlock		      "Analog\nFilter Design1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Product2"
      SrcPort		      1
      Points		      [95, 0]
      DstBlock		      "Analog\nFilter Design2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Product3"
      SrcPort		      1
      DstBlock		      "Voltage-Controlled\nOscillator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Analog\nFilter Design1"
      SrcPort		      1
      Points		      [80, 0; 0, 60]
      DstBlock		      "Product3"
      DstPort		      1
    }
    Line {
      Name		      "解调输出"
      Labels		      [0, 0]
      SrcBlock		      "Analog\nFilter Design2"
      SrcPort		      1
      Points		      [80, 0]
      Branch {
	Points			[0, -90]
	DstBlock		"Product3"
	DstPort			2
      }
      Branch {
	Points			[20, 0]
	DstBlock		"Scope2"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Complex to\nReal-Imag"
      SrcPort		      1
      Points		      [0, 0; -10, 0]
      Branch {
	Points			[0, -55]
	DstBlock		"Product1"
	DstPort			2
      }
      Branch {
	DstBlock		"Scope1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Complex to\nReal-Imag"
      SrcPort		      2
      Points		      [0, 0; -10, 0]
      Branch {
	Points			[0, 75]
	DstBlock		"Product2"
	DstPort			1
      }
      Branch {
	Points			[0, -10]
	DstBlock		"Scope1"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "AWGN\nChannel"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	Points			[0, -50]
	DstBlock		"Product1"
	DstPort			1
      }
      Branch {
	Points			[0, 130]
	DstBlock		"Product2"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Zero-Order\nHold"
      SrcPort		      1
      DstBlock		      "Analytic Signal"
      DstPort		      1
    }
    Annotation {
      Name		      "DSB-SC调制"
      Position		      [123, 128]
    }
    Annotation {
      Name		      "信道"
      Position		      [207, 147]
    }
    Annotation {
      Name		      "抑制载波双边带调制的科斯塔斯环载波恢复和解调模"
"型\n文件名:ch3example25.mdl"
      Position		      [168, 249]
      DropShadow	      on
      FontName		      "Arial"
      FontSize		      12
    }
  }
}

⌨️ 快捷键说明

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