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

📄 ch7example2.mdl

📁 清华大学出版社 邵玉斌编写的《通信系统建模与仿真实例分析》一书的所有MATLAB和SIMULINK代码
💻 MDL
📖 第 1 页 / 共 2 页
字号:
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "ch7example2"
    Location		    [170, 133, 954, 465]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "Bernoulli Binary\nGenerator"
      Ports		      [0, 1]
      Position		      [15, 53, 95, 97]
      FontName		      "Arial"
      FontSize		      10
      SourceBlock	      "commrandsrc2/Bernoulli Binary\nGenerator"
      SourceType	      "Bernoulli Binary Generator"
      P			      "0.5"
      seed		      "61"
      Ts		      "1"
      frameBased	      off
      sampPerFrame	      "1"
      orient		      off
    }
    Block {
      BlockType		      Logic
      Name		      "Logical\nOperator"
      Ports		      [2, 1]
      Position		      [260, 67, 290, 98]
      AllPortsSameDT	      off
      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		      DiscretePulseGenerator
      Name		      "Pulse\nGenerator"
      Position		      [35, 133, 80, 167]
      Period		      "10"
      PulseWidth	      "4"
      SampleTime	      "1/10"
      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		      "Rate Transition"
      Ports		      [1, 1]
      Position		      [115, 54, 170, 96]
      FontSize		      10
      SourceBlock	      "simulink/Signal\nAttributes/Rate Transition"
      SourceType	      "Rate_Transition"
      DataIntegrity	      on
      DeterministicTransfer   on
      TransitionType	      "Slow to fast"
      InitCond		      "0"
      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		      Scope
      Name		      "Scope"
      Ports		      [4]
      Position		      [565, 101, 595, 164]
      Location		      [110, 303, 785, 631]
      Open		      on
      NumInputPorts	      "4"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
	axes3			""
	axes4			""
      }
      YMin		      "-2~-2~-2~-2"
      YMax		      "2~2~2~2"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Triggered Subsystem"
      Ports		      [1, 1, 0, 1]
      Position		      [355, 224, 420, 266]
      FontSize		      10
      TreatAsAtomicUnit	      on
      Port {
	PortNumber		1
	Name			"单极性不归零码\n"
	PropagatedSignals	"单极性归零码"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      System {
	Name			"Triggered Subsystem"
	Location		[498, 465, 996, 765]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [110, 103, 140, 117]
	}
	Block {
	  BlockType		  TriggerPort
	  Name			  "Trigger"
	  Ports			  []
	  Position		  [235, 65, 255, 85]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [360, 103, 390, 117]
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Unipolar to\nBipolar\nConverter"
      Ports		      [1, 1]
      Position		      [350, 116, 420, 164]
      FontSize		      10
      SourceBlock	      "commutil2/Unipolar to\nBipolar\nConverter"
      SourceType	      "Unipolar to Bipolar Converter"
      M			      "2"
      polarity		      "Positive"
      Port {
	PortNumber		1
	Name			"双极性不归零码"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Line {
      SrcBlock		      "Bernoulli Binary\nGenerator"
      SrcPort		      1
      DstBlock		      "Rate Transition"
      DstPort		      1
    }
    Line {
      Name		      "时钟"
      Labels		      [0, 0]
      SrcBlock		      "Pulse\nGenerator"
      SrcPort		      1
      Points		      [160, 0]
      Branch {
	DstBlock		"Logical\nOperator"
	DstPort			2
      }
      Branch {
	Points			[0, 59]
	DstBlock		"Triggered Subsystem"
	DstPort			trigger
      }
    }
    Line {
      Name		      "单极性不归零码"
      Labels		      [0, 0]
      SrcBlock		      "Rate Transition"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	DstBlock		"Logical\nOperator"
	DstPort			1
      }
      Branch {
	Points			[0, -20; 110, 0]
	Branch {
	  Labels		  [1, 0]
	  Points		  [185, 0; 0, 55]
	  DstBlock		  "Scope"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 85]
	  DstBlock		  "Unipolar to\nBipolar\nConverter"
	  DstPort		  1
	}
      }
    }
    Line {
      Name		      "双极性不归零码"
      Labels		      [1, 0]
      SrcBlock		      "Unipolar to\nBipolar\nConverter"
      SrcPort		      1
      DstBlock		      "Scope"
      DstPort		      3
    }
    Line {
      Name		      "单极性归零码"
      Labels		      [0, 0]
      SrcBlock		      "Logical\nOperator"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	Points			[155, 0; 0, 40]
	DstBlock		"Scope"
	DstPort			2
      }
      Branch {
	Points			[0, 160]
	DstBlock		"Triggered Subsystem"
	DstPort			1
      }
    }
    Line {
      Name		      "单极性不归零码\n"
      Labels		      [2, 0]
      SrcBlock		      "Triggered Subsystem"
      SrcPort		      1
      Points		      [70, 0; 0, -90]
      DstBlock		      "Scope"
      DstPort		      4
    }
    Annotation {
      Name		      "传输码型变换模型\n文件名:ch7example2.mdl"
      Position		      [117, 223]
      DropShadow	      on
      FontName		      "Arial"
      FontSize		      12
    }
  }
}

⌨️ 快捷键说明

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