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

📄 ooknrzbw.mdl

📁 数字调制方法的Simulink仿真学习程序
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  MaskInitialization	  "time_range=@1;boundary=@2;kept_length=@3;ey"
"e_line=@4;scatter_line=@5;two_d_line=@6;[x,y]=srcsicon(10);"
	  MaskDisplay		  "plot(0,0,100,100,x,y);"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "[2 0 1+offset]|[-1.5 1.5]|0|'w-/r-'|0|2/anz"
"ahl"
	  System {
	    Name		    "Eye pattern\ntransmitter"
	    Location		    [121, 409, 416, 595]
	    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		      [75, 80, 95, 100]
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "Plot1"
	      Ports		      [1]
	      Position		      [130, 70, 200, 110]
	      FunctionName	      "eyesampl"
	      Parameters	      "time_range, boundary, kept_length, eye_"
"line, scatter_line, two_d_line"
	    }
	    Line {
	      SrcBlock		      "in_1"
	      SrcPort		      1
	      DstBlock		      "Plot1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1]
	  Position		  [185, 36, 220, 69]
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1]
	  Position		  [185, 96, 220, 129]
	  Inputs		  "2"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Scatter plot\ntransmitter"
	  Ports			  [1]
	  Position		  [275, 173, 330, 207]
	  CopyFcn		  "eyesampl([],[],[],'CopyBlock')"
	  DeleteFcn		  "eyesampl([],[],[],'DeleteBlock')"
	  LoadFcn		  "eyesampl([],[],[],'LoadBlock')"
	  StartFcn		  "eyesampl([],[],[],'Start')"
	  StopFcn		  "eyesampl([],[],[],'Stop')"
	  NameChangeFcn		  "eyesampl([],[],[],'NameChange')"
	  ShowPortLabels	  off
	  TreatAsAtomicUnit	  off
	  MaskType		  "Eye-diagram/scatter plot"
	  MaskDescription	  "Produce eye-pattern diagram and/or scatter "
"plot."
	  MaskHelp		  "This plot opens one, or two plots by assign"
"ing the line type parameters. The scatter plot point is selected by the decis"
"ion point in the first parameter entry. A decision line is drawn in the eye-p"
"attern diagram. The plot is updated at the plot update sample time point."
	  MaskPromptString	  "[Symbol interval, plot offset, decision poi"
"nt offset]:|Lower and upper bound of in-coming signal (1x2 vector):|Number of"
" saved traces:|Line-type for eye-pattern diagram (0 for no plot):|Line-type f"
"or scatter plot (0 for no plot):|Plot update sample time:"
	  MaskStyleString	  "edit,edit,edit,edit,edit,edit"
	  MaskTunableValueString  "on,on,on,on,on,on"
	  MaskCallbackString	  "|||||"
	  MaskEnableString	  "on,on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,on,on"
	  MaskToolTipString	  "on,on,on,on,on,on"
	  MaskVarAliasString	  ",,,,,"
	  MaskInitialization	  "time_range=@1;boundary=@2;kept_length=@3;ey"
"e_line=@4;scatter_line=@5;two_d_line=@6;[x,y]=srcsicon(10);"
	  MaskDisplay		  "plot(0,0,100,100,x,y);"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "[1 .5 .999]|[-1.5 1.5]|0|0|'b.'|[.5 offset]"
	  System {
	    Name		    "Scatter plot\ntransmitter"
	    Location		    [165, 242, 460, 428]
	    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		      [75, 80, 95, 100]
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "Plot1"
	      Ports		      [1]
	      Position		      [130, 70, 200, 110]
	      FunctionName	      "eyesampl"
	      Parameters	      "time_range, boundary, kept_length, eye_"
"line, scatter_line, two_d_line"
	    }
	    Line {
	      SrcBlock		      "in_1"
	      SrcPort		      1
	      DstBlock		      "Plot1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Step
	  Name			  "Step input"
	  Position		  [35, 85, 55, 105]
	  Time			  "starttime"
	  SampleTime		  "1"
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [110, 44, 135, 76]
	  Threshold		  "1"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Trajectory\ntransmitter"
	  Ports			  [1]
	  Position		  [275, 107, 330, 143]
	  CopyFcn		  "eyediasi([],[],[],'CopyBlock')"
	  DeleteFcn		  "eyediasi([],[],[],'DeleteBlock')"
	  LoadFcn		  "eyediasi([],[],[],'LoadBlock')"
	  StartFcn		  "eyediasi([],[],[],'Start')"
	  StopFcn		  "eyediasi([],[],[],'Stop')"
	  NameChangeFcn		  "eyediasi([],[],[],'NameChange')"
	  ShowPortLabels	  off
	  TreatAsAtomicUnit	  off
	  MaskType		  "Eye-diagram/scatter plot"
	  MaskDescription	  "Produce eye-pattern diagram/scatter\nplot/x"
"-y plot with the rising edge of the second input as the decision line."
	  MaskHelp		  "This plot opens one, two, or three plots by"
" assigning the line type parameters. The scatter plot point is selected by th"
"e rising edge of a trigger signal. A decision line is drawn at the rising edg"
"e of the trigger signal."
	  MaskPromptString	  "Eye-pattern plot time frame:|Lower and uppe"
"r bound of in-coming signal (1x2 vector):|Number of saved traces:|Line-type f"
"or eye-pattern diagram (0 for no plot):|Line-type for scatter plot (0 for no "
"plot):|Line-type for x-y plot (0 for no plot):"
	  MaskStyleString	  "edit,edit,edit,edit,edit,edit"
	  MaskTunableValueString  "on,on,on,on,on,on"
	  MaskCallbackString	  "|||||"
	  MaskEnableString	  "on,on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,on,on"
	  MaskToolTipString	  "on,on,on,on,on,on"
	  MaskVarAliasString	  ",,,,,"
	  MaskInitialization	  "time_range=@1;boundary=@2;kept_length=@3;ey"
"e_line=@4;scatter_line=@5;two_d_line=@6;[x,y]=srcsicon(10);[v,w]=trigicon(0,2"
"5,get_param(gcb,'orientation'),2);"
	  MaskDisplay		  "plot(0,0,100,100,x,y,v,w);"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "[2 0 1]|[-1.5 1.5]|0|0|0|'g-'"
	  System {
	    Name		    "Trajectory\ntransmitter"
	    Location		    [165, 242, 460, 428]
	    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		      [15, 55, 35, 75]
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [15, 110, 45, 140]
	      Value		      "0"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [2, 1]
	      Position		      [65, 70, 100, 105]
	      Inputs		      "2"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "Plot1"
	      Ports		      [1]
	      Position		      [130, 70, 200, 110]
	      FunctionName	      "eyediasi"
	      Parameters	      "time_range, boundary, kept_length, eye_"
"line, scatter_line, two_d_line"
	    }
	    Line {
	      SrcBlock		      "in_1"
	      SrcPort		      1
	      Points		      [5, 0; 0, 15]
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "Plot1"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Switch"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    DstBlock		    "Mux"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 45]
	    DstBlock		    "Mux1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [10, 0; 0, -20]
	  Branch {
	    Points		    [0, -75]
	    DstBlock		    "Mux"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Mux1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  Points		  [25, 0]
	  Branch {
	    Points		    [10, 0]
	    DstBlock		    "Trajectory\ntransmitter"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 75]
	    DstBlock		    "Scatter plot\ntransmitter"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [35, 0]
	  DstBlock		  "Switch"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Step input"
	  SrcPort		  1
	  Points		  [15, 0; 0, -35]
	  DstBlock		  "Switch"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "in_1"
	  SrcPort		  1
	  DstBlock		  "Switch"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "Eye pattern\ntransmitter"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "x(t)"
      Ports		      [1]
      Position		      [705, 185, 735, 215]
      Orientation	      "down"
      Location		      [211, 727, 1147, 827]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "25.000000"
      YMin		      "-2"
      YMax		      "2"
      DataFormat	      "Array"
    }
    Line {
      SrcBlock		      "Clock"
      SrcPort		      1
      DstBlock		      "Fcn1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Fcn"
      SrcPort		      1
      DstBlock		      "Product1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Clock1"
      SrcPort		      1
      DstBlock		      "Fcn"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Product1"
      SrcPort		      1
      Points		      [35, 0]
      Branch {
	DstBlock		"x(t)"
	DstPort			1
      }
      Branch {
	DstBlock		"ButterworthLP filter"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "ButterworthLP filter"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	Points			[5, 0]
	Branch {
	  DstBlock		  "s_r(t)"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -95]
	  DstBlock		  "receiver\ndiagrams"
	  DstPort		  1
	}
      }
      Branch {
	DstBlock		"threshold\ndetector"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "threshold\ndetector"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	DstBlock		"sink signal v(t)"
	DstPort			1
      }
      Branch {
	DstBlock		"Error rate"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Fcn1"
      SrcPort		      1
      Points		      [10, 0; 0, -20]
      DstBlock		      "Product"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Product"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"transmitted signal u(t)"
	DstPort			1
      }
      Branch {
	DstBlock		"Channel"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Channel"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	DstBlock		"Product1"
	DstPort			2
      }
      Branch {
	DstBlock		"received signal r(t)"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Source"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	Points			[70, 0]
	Branch {
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -90]
	  DstBlock		  "transmitter\ndiagrams"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "s(t)"
	  DstPort		  1
	}
      }
      Branch {
	Points			[-5, 0; 0, 100]
	Branch {
	  DstBlock		  "a(t)"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 30; 775, 0; 0, -40]
	  DstBlock		  "Error rate"
	  DstPort		  1
	}
      }
    }
  }
}

⌨️ 快捷键说明

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