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

📄 cpmsignalspaceplot.mdl

📁 清华大学出版社 邵玉斌编写的《通信系统建模与仿真实例分析》一书的所有MATLAB和SIMULINK代码
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	  Port {
	    PortNumber		    2
	    Name		    "b_n"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [350, 25, 400, 55]
	  Expr			  "2*u-1"
	  Port {
	    PortNumber		    1
	    Name		    "I_n"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [350, 85, 400, 115]
	  Expr			  "1-u/h"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [455, 76, 500, 109]
	  InputSameDT		  off
	  Port {
	    PortNumber		    1
	    Name		    "J_n"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  Reference
	  Name			  "Reshape"
	  Ports			  [1, 1]
	  Position		  [225, 38, 255, 62]
	  SourceBlock		  "simulink/Math\nOperations/Reshape"
	  SourceType		  "Reshape"
	  OutputDimensionality	  "1-D array"
	  OutputDimensions	  "[1,1]"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope"
	  Ports			  [2]
	  Position		  [595, 151, 625, 184]
	  Location		  [652, 472, 976, 711]
	  Open			  off
	  NumInputPorts		  "2"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	    axes2		    "%<SignalLabel>"
	  }
	  List {
	    ListType		    SelectedSignals
	    axes1		    ""
	    axes2		    ""
	  }
	  YMin			  "-5~-5"
	  YMax			  "5~5"
	  DataFormat		  "StructureWithTime"
	}
	Block {
	  BlockType		  Outport
	  Name			  "I_n"
	  Position		  [610, 33, 640, 47]
	}
	Block {
	  BlockType		  Outport
	  Name			  "J_n"
	  Position		  [615, 88, 645, 102]
	  Port			  "2"
	}
	Line {
	  SrcBlock		  "Bernoulli Binary\nGenerator"
	  SrcPort		  1
	  DstBlock		  "Buffer"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Buffer"
	  SrcPort		  1
	  DstBlock		  "Reshape"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Reshape"
	  SrcPort		  1
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  Name			  "a_n"
	  Labels		  [0, 0]
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  DstBlock		  "Fcn"
	  DstPort		  1
	}
	Line {
	  Name			  "b_n"
	  Labels		  [0, 0]
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  Points		  [35, 0]
	  DstBlock		  "Fcn1"
	  DstPort		  1
	}
	Line {
	  Name			  "I_n"
	  Labels		  [0, 0]
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  Points		  [5, 0; 15, 0]
	  Branch {
	    Points		    [0, 45]
	    DstBlock		    "Product"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [145, 0]
	    Branch {
	      DstBlock		      "I_n"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 120]
	      DstBlock		      "Scope"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Fcn1"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  Name			  "J_n"
	  Labels		  [0, 0]
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [35, 0]
	  Branch {
	    DstBlock		    "J_n"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 80]
	    DstBlock		    "Scope"
	    DstPort		    2
	  }
	}
	Annotation {
	  Name			  "相关编码\n参见式4-3-73"
	  Position		  [377, 146]
	  BackgroundColor	  "yellow"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem1\n速率变换"
      Ports		      [1, 1]
      Position		      [385, 285, 450, 315]
      BackgroundColor	      "yellow"
      TreatAsAtomicUnit	      off
      System {
	Name			"Subsystem1\n速率变换"
	Location		[466, 396, 786, 553]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 43, 55, 57]
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [85, 100, 115, 130]
	  Value			  "0"
	  ShowAdditionalParam	  on
	}
	Block {
	  BlockType		  Reference
	  Name			  "Rate Transition"
	  Ports			  [1, 1]
	  Position		  [90, 29, 145, 71]
	  FontSize		  10
	  SourceBlock		  "simulink/Signal\nAttributes/Rate Transition"
	  SourceType		  "Rate_Transition"
	  DataIntegrity		  off
	  DeterministicTransfer	  off
	  TransitionType	  "Slow to fast"
	  InitCond		  "0"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [220, 40, 240, 60]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "Zero-Order\nHold"
	  Position		  [150, 96, 185, 134]
	  SampleTime		  "1/100"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [265, 43, 295, 57]
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  DstBlock		  "Zero-Order\nHold"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Zero-Order\nHold"
	  SrcPort		  1
	  Points		  [40, 0]
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Rate Transition"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Rate Transition"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem1\n速率变换1"
      Ports		      [1, 1]
      Position		      [385, 205, 450, 235]
      BackgroundColor	      "yellow"
      TreatAsAtomicUnit	      off
      System {
	Name			"Subsystem1\n速率变换1"
	Location		[466, 396, 786, 553]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 43, 55, 57]
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [85, 100, 115, 130]
	  Value			  "0"
	  ShowAdditionalParam	  on
	}
	Block {
	  BlockType		  Reference
	  Name			  "Rate Transition"
	  Ports			  [1, 1]
	  Position		  [90, 29, 145, 71]
	  FontSize		  10
	  SourceBlock		  "simulink/Signal\nAttributes/Rate Transition"
	  SourceType		  "Rate_Transition"
	  DataIntegrity		  off
	  DeterministicTransfer	  off
	  TransitionType	  "Slow to fast"
	  InitCond		  "0"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [220, 40, 240, 60]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "Zero-Order\nHold"
	  Position		  [150, 96, 185, 134]
	  SampleTime		  "1/100"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [265, 43, 295, 57]
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  DstBlock		  "Zero-Order\nHold"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Zero-Order\nHold"
	  SrcPort		  1
	  Points		  [40, 0]
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Rate Transition"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Rate Transition"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem1\n速率变换2"
      Ports		      [1, 1]
      Position		      [240, 120, 305, 150]
      BackgroundColor	      "yellow"
      TreatAsAtomicUnit	      off
      System {
	Name			"Subsystem1\n速率变换2"
	Location		[466, 396, 786, 553]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 43, 55, 57]
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [85, 100, 115, 130]
	  Value			  "0"
	  ShowAdditionalParam	  on
	}
	Block {
	  BlockType		  Reference
	  Name			  "Rate Transition"
	  Ports			  [1, 1]
	  Position		  [90, 29, 145, 71]
	  FontSize		  10
	  SourceBlock		  "simulink/Signal\nAttributes/Rate Transition"
	  SourceType		  "Rate_Transition"
	  DataIntegrity		  off
	  DeterministicTransfer	  off
	  TransitionType	  "Slow to fast"
	  InitCond		  "0"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [220, 40, 240, 60]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "Zero-Order\nHold"
	  Position		  [150, 96, 185, 134]
	  SampleTime		  "1/100"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [265, 43, 295, 57]
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  DstBlock		  "Zero-Order\nHold"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Zero-Order\nHold"
	  SrcPort		  1
	  Points		  [40, 0]
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Rate Transition"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Rate Transition"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem1\n速率变换3"

⌨️ 快捷键说明

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