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

📄 msk.mdl

📁 现代通信系统(Matlab版)一书的所有例子的matlab程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  DataFormat		  "Array"
	}
	Block {
	  BlockType		  Scope
	  Name			  "s_rs(t)"
	  Ports			  [1]
	  Position		  [465, 230, 495, 260]
	  Orientation		  "down"
	  Location		  [360, 732, 1280, 832]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  TimeRange		  "25.000000"
	  YMin			  "-2.000000"
	  YMax			  "2.000000"
	  DataFormat		  "Array"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "threshold\ndetector"
	  Ports			  [1, 1]
	  Position		  [680, 113, 710, 147]
	  ShowPortLabels	  off
	  TreatAsAtomicUnit	  off
	  MaskType		  "Sign"
	  MaskDescription	  "y = sign(x)"
	  MaskHelp		  "Sign Function:\\n\\t\\t\\ty = 1 if x > 0\\n"
"\\t\\t\\ty = 0 if x = 0\\n\\t\\t\\ty = -1 if x < 0"
	  MaskDisplay		  "plot(-50,-50,50,50,[-50,50],[0,0],[0,0],[-5"
"0,50],[-40,0],[-30,-30],[0,40],[30,30])"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "threshold\ndetector"
	    Location		    [159, 417, 467, 586]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "in_1"
	      Position		      [35, 30, 55, 50]
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [65, 105, 85, 125]
	      Value		      "0"
	    }
	    Block {
	      BlockType		      RelationalOperator
	      Name		      "Relational\nOperator"
	      Position		      [140, 32, 170, 63]
	      Operator		      ">"
	    }
	    Block {
	      BlockType		      RelationalOperator
	      Name		      "Relational\nOperator1"
	      Position		      [140, 92, 170, 123]
	      Operator		      "<"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [215, 64, 235, 91]
	      Inputs		      "+-"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "out_1"
	      Position		      [265, 70, 285, 90]
	    }
	    Line {
	      SrcBlock		      "in_1"
	      SrcPort		      1
	      Points		      [35, 0]
	      Branch {
		DstBlock		"Relational\nOperator"
		DstPort			1
	      }
	      Branch {
		Points			[0, 60]
		DstBlock		"Relational\nOperator1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [20, 0]
	      Branch {
		DstBlock		"Relational\nOperator1"
		DstPort			2
	      }
	      Branch {
		Points			[0, -60]
		DstBlock		"Relational\nOperator"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Relational\nOperator1"
	      SrcPort		      1
	      Points		      [10, 0; 0, -25]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Relational\nOperator"
	      SrcPort		      1
	      Points		      [10, 0; 0, 20]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "out_1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Scope
	  Name			  "v(t)"
	  Ports			  [1]
	  Position		  [905, 60, 935, 90]
	  Orientation		  "up"
	  Location		  [360, 924, 1280, 1024]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  TimeRange		  "25.000000"
	  YMin			  "-2.000000"
	  YMax			  "2.000000"
	  DataFormat		  "Array"
	}
	Block {
	  BlockType		  Scope
	  Name			  "x_c(t)"
	  Ports			  [1]
	  Position		  [290, 10, 320, 40]
	  Orientation		  "up"
	  Location		  [360, 437, 1280, 537]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  TimeRange		  "25.000000"
	  YMin			  "-2.000000"
	  YMax			  "2.000000"
	  DataFormat		  "Array"
	}
	Block {
	  BlockType		  Scope
	  Name			  "x_s(t)"
	  Ports			  [1]
	  Position		  [285, 230, 315, 260]
	  Orientation		  "down"
	  Location		  [360, 634, 1280, 734]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  TimeRange		  "25.000000"
	  YMin			  "-2.000000"
	  YMax			  "2.000000"
	  DataFormat		  "Array"
	}
	Block {
	  BlockType		  Scope
	  Name			  "y(t)"
	  Ports			  [1]
	  Position		  [835, 60, 865, 90]
	  Orientation		  "up"
	  Location		  [360, 830, 1280, 930]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  TimeRange		  "25.000000"
	  YMin			  "-2.000000"
	  YMax			  "2.000000"
	  DataFormat		  "Array"
	}
	Block {
	  BlockType		  Outport
	  Name			  "detected \nsymbol"
	  Position		  [955, 115, 975, 135]
	}
	Block {
	  BlockType		  Outport
	  Name			  "detected\nbit"
	  Position		  [955, 195, 975, 215]
	  Port			  "2"
	}
	Line {
	  SrcBlock		  "Fcn3"
	  SrcPort		  1
	  Points		  [5, 0; 0, -30]
	  DstBlock		  "Product3"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Clock"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    DstBlock		    "Fcn3"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Fcn2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Product3"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "x_c(t)"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "ButterworthLP filter"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Product4"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    DstBlock		    "x_s(t)"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "ButterworthLP filter_"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Fcn2"
	  SrcPort		  1
	  Points		  [5, 0; 0, 30]
	  DstBlock		  "Product4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Pulse\nGenerator1"
	  SrcPort		  1
	  DstBlock		  "Switch"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "noisy\nMSK signal"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "r(t)"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [20, 0]
	    Branch {
	      Points		      [0, 55]
	      DstBlock		      "Product4"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, -55]
	      DstBlock		      "Product3"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "differential\ndecoding"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    DstBlock		    "detected \nsymbol"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "v(t)"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Switch"
	  SrcPort		  1
	  DstBlock		  "threshold\ndetector"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "ButterworthLP filter_"
	  SrcPort		  1
	  DstBlock		  "Transport\nDelay"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transport\nDelay"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "s_rs(t)"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [70, 0]
	    Branch {
	      Points		      [55, 0; 0, -40]
	      DstBlock		      "Switch"
	      DstPort		      3
	    }
	    Branch {
	      Points		      [0, -135]
	      DstBlock		      "receiver diagrams"
	      DstPort		      2
	    }
	  }
	}
	Line {
	  SrcBlock		  "ButterworthLP filter"
	  SrcPort		  1
	  DstBlock		  "Transport\nDelay1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transport\nDelay1"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "s_rc(t)"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [55, 0]
	    Branch {
	      Points		      [70, 0; 0, 40]
	      DstBlock		      "Switch"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, -55]
	      DstBlock		      "receiver diagrams"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [-10, 0]
	  DstBlock		  "Schalter1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Step Input"
	  SrcPort		  1
	  Points		  [10, 0; 0, -65]
	  DstBlock		  "Schalter1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "threshold\ndetector"
	  SrcPort		  1
	  DstBlock		  "Hold"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Hold"
	  SrcPort		  1
	  DstBlock		  "Schalter1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Schalter1"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    DstBlock		    "differential\ndecoding"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "y(t)"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "differential\ndecoding"
	  SrcPort		  2
	  Points		  [20, 0; 0, 55]
	  DstBlock		  "detected\nbit"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Transmitter"
      Ports		      [0, 4]
      Position		      [185, 73, 260, 157]
      ShowPortLabels	      off
      TreatAsAtomicUnit	      off
      System {
	Name			"Transmitter"
	Location		[12, 430, 1021, 708]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Clock
	  Name			  "Clock"
	  Position		  [355, 125, 375, 145]
	  ShowName		  off
	  Decimation		  "10"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [410, 69, 490, 101]
	  ShowName		  off
	  Expr			  "abs(cos(1/2*pi*u-pi/2))"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [550, 108, 645, 132]
	  ShowName		  off
	  Expr			  "cos(4*pi*u)"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn2"
	  Position		  [550, 143, 645, 167]
	  ShowName		  off
	  Expr			  "sin(4*pi*u)"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn3"
	  Position		  [410, 164, 490, 196]
	  ShowName		  off
	  Expr			  "abs(cos(1/2*pi*u))"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product2"
	  Ports			  [2, 1]
	  Position		  [715, 218, 745, 242]
	  ShowName		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product3"
	  Ports			  [2, 1]
	  Position		  [715, 33, 745, 57]
	  ShowName		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product4"
	  Ports			  [2, 1]
	  Position		  [530, 28, 560, 52]
	  ShowName		  off
	}
	Bloc

⌨️ 快捷键说明

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