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

📄 qpsnyqmf.mdl

📁 qpsk仿真程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		  BlockType		  Inport
		  Name			  "in_1"
		  Position		  [35, 185, 55, 205]
		}
		Block {
		  BlockType		  Inport
		  Name			  "in_2"
		  Position		  [25, 30, 45, 50]
		  Port			  "2"
		}
		Block {
		  BlockType		  Constant
		  Name			  "Constant"
		  Position		  [210, 155, 230, 175]
		  Value			  "x"
		}
		Block {
		  BlockType		  Product
		  Name			  "Product"
		  Ports			  [2, 1]
		  Position		  [155, 90, 180, 110]
		}
		Block {
		  BlockType		  Switch
		  Name			  "Switch"
		  Position		  [295, 124, 320, 156]
		  Threshold		  ".5"
		}
		Block {
		  BlockType		  ZeroOrderHold
		  Name			  "Zero-Order\nHold"
		  Position		  [205, 84, 240, 116]
		  SampleTime		  "ts"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "discrete\nRising edge\ndetector"
		  Ports			  [1, 1]
		  Position		  [65, 26, 120, 54]
		  ShowPortLabels	  off
		  TreatAsAtomicUnit	  off
		  MaskType		  "Edge Detection"
		  MaskDescription	  "Rising edge detection:"
		  MaskHelp		  "When the input signal rising edge p"
"assed the given shreshold, this block outputs one, otherwise outputs zero."
		  MaskPromptString	  "Threshold:|Sampling time:"
		  MaskStyleString	  "edit,edit"
		  MaskTunableValueString  "on,on"
		  MaskCallbackString	  "|"
		  MaskEnableString	  "on,on"
		  MaskVisibilityString	  "on,on"
		  MaskToolTipString	  "on,on"
		  MaskVarAliasString	  ","
		  MaskInitialization	  "thld=@1;ts=@2;"
		  MaskDisplay		  "disp('Edge\\nDetector')"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  MaskValueString	  "thr|ts"
		  System {
		    Name		    "discrete\nRising edge\ndetector"
		    Location		    [419, 521, 808, 713]
		    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		    [10, 15, 30, 35]
		    }
		    Block {
		    BlockType		    RelationalOperator
		    Name		    "Relational\nOperator"
		    Position		    [135, 18, 165, 42]
		    }
		    Block {
		    BlockType		    RelationalOperator
		    Name		    "Relational\nOperator1"
		    Position		    [200, 88, 230, 112]
		    }
		    Block {
		    BlockType		    RelationalOperator
		    Name		    "Relational\nOperator2"
		    Position		    [265, 23, 295, 47]
		    Operator		    ">"
		    }
		    Block {
		    BlockType		    UnitDelay
		    Name		    "Unit Delay"
		    Position		    [120, 87, 170, 103]
		    SampleTime		    "ts"
		    }
		    Block {
		    BlockType		    Constant
		    Name		    "one1"
		    Position		    [30, 135, 60, 155]
		    Value		    "thld"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "out_1"
		    Position		    [340, 25, 360, 45]
		    }
		    Line {
		    SrcBlock		    "in_1"
		    SrcPort		    1
		    Points		    [10, 0]
		    Branch {
		    DstBlock		    "Relational\nOperator"
		    DstPort		    1
		    }
		    Branch {
		    Points		    [0, 70]
		    DstBlock		    "Unit Delay"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "Unit Delay"
		    SrcPort		    1
		    DstBlock		    "Relational\nOperator1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "one1"
		    SrcPort		    1
		    Points		    [35, 0]
		    Branch {
		    Points		    [0, -110]
		    DstBlock		    "Relational\nOperator"
		    DstPort		    2
		    }
		    Branch {
		    Points		    [80, 0; 0, -40]
		    DstBlock		    "Relational\nOperator1"
		    DstPort		    2
		    }
		    }
		    Line {
		    SrcBlock		    "Relational\nOperator"
		    SrcPort		    1
		    DstBlock		    "Relational\nOperator2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Relational\nOperator1"
		    SrcPort		    1
		    Points		    [5, 0; 0, -60]
		    DstBlock		    "Relational\nOperator2"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Relational\nOperator2"
		    SrcPort		    1
		    DstBlock		    "out_1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Outport
		  Name			  "out_1"
		  Position		  [355, 130, 375, 150]
		}
		Line {
		  SrcBlock		  "in_2"
		  SrcPort		  1
		  DstBlock		  "discrete\nRising edge\ndetector"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "discrete\nRising edge\ndetector"
		  SrcPort		  1
		  Points		  [5, 0; 0, 55]
		  DstBlock		  "Product"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Constant"
		  SrcPort		  1
		  Points		  [15, 0; 0, -25]
		  DstBlock		  "Switch"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Switch"
		  SrcPort		  1
		  DstBlock		  "out_1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "in_1"
		  SrcPort		  1
		  Points		  [35, 0]
		  Branch {
		    Points		    [185, 0]
		    DstBlock		    "Switch"
		    DstPort		    3
		  }
		  Branch {
		    Points		    [0, -90]
		    DstBlock		    "Product"
		    DstPort		    2
		  }
		}
		Line {
		  SrcBlock		  "Product"
		  SrcPort		  1
		  DstBlock		  "Zero-Order\nHold"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Zero-Order\nHold"
		  SrcPort		  1
		  Points		  [15, 0; 0, 30]
		  DstBlock		  "Switch"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Pulses deivide\nsame sample time1"
	      Ports		      [0, 1]
	      Position		      [35, 71, 95, 109]
	      ShowPortLabels	      off
	      TreatAsAtomicUnit	      off
	      MaskType		      "Pulse generator"
	      MaskDescription	      "Vector pulses with sample rate of each "
"pulse as Sample_time ./Divider. "
	      MaskHelp		      "This block generator a vector pulses. T"
"he output length is the same as the vector defined in \"Divider\". The ith el"
"ement of the output has the sample time Sample_time/Divider(i). All elements "
"in \"Divider\" must be integers."
	      MaskPromptString	      "Sample time (scalar, sec):|Divider (int"
"eger vector):|Offset (have same dimension as Divider:"
	      MaskStyleString	      "edit,edit,edit"
	      MaskTunableValueString  "on,on,on"
	      MaskCallbackString      "||"
	      MaskEnableString	      "on,on,on"
	      MaskVisibilityString    "on,on,on"
	      MaskToolTipString	      "on,on,on"
	      MaskVarAliasString      ",,"
	      MaskInitialization      "samp_time=@1;out_divid=@2;offset=@3;"
	      MaskDisplay	      "disp('Vector\\nPulse')"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      MaskValueString	      "td|1|off"
	      System {
		Name			"Pulses deivide\nsame sample time1"
		Location		[55, 192, 283, 286]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  "S-Function"
		  Name			  "S-function1"
		  Ports			  [1, 1]
		  Position		  [40, 31, 105, 59]
		  FunctionName		  "homopuls"
		  Parameters		  "samp_time, out_divid, offset"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Outport"
		  Position		  [160, 35, 180, 55]
		}
		Line {
		  SrcBlock		  "S-function1"
		  SrcPort		  1
		  DstBlock		  "Outport"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "out_1"
	      Position		      [330, 40, 350, 60]
	    }
	    Line {
	      SrcBlock		      "Filter"
	      SrcPort		      1
	      DstBlock		      "out_1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "in_1"
	      SrcPort		      1
	      DstBlock		      "Memory Impulse"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Memory Impulse"
	      SrcPort		      1
	      DstBlock		      "Filter"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Pulses deivide\nsame sample time1"
	      SrcPort		      1
	      Points		      [15, 0; 0, -30]
	      DstBlock		      "Memory Impulse"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Rolloff"
	  Ports			  []
	  Position		  [410, 19, 528, 46]
	  BackgroundColor	  "lightBlue"
	  ShowName		  off
	  OpenFcn		  "setrloff"
	  FontSize		  12
	  FontAngle		  "italic"
	  ShowPortLabels	  off
	  TreatAsAtomicUnit	  off
	  MaskType		  "rolloff"
	  MaskDisplay		  "disp('Rolloff-Factor')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Rolloff"
	    Location		    [136, 230, 381, 439]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "cyan"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "close receiver"
	  Ports			  []
	  Position		  [805, 15, 940, 41]
	  BackgroundColor	  "lightBlue"
	  ShowName		  off
	  OpenFcn		  "closerec"
	  FontSize		  12
	  FontAngle		  "italic"
	  ShowPortLabels	  off
	  TreatAsAtomicUnit	  off
	  MaskType		  "close"
	  MaskDisplay		  "disp('close receiver')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "close receiver"
	    Location		    [136, 230, 381, 439]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "cyan"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "noise variance"
	  Ports			  []
	  Position		  [34, 240, 140, 264]
	  BackgroundColor	  "lightBlue"
	  ShowName		  off
	  OpenFcn		  "setnoise"
	  FontSize		  12
	  FontAngle		  "italic"
	  ShowPortLabels	  off
	  TreatAsAtomicUnit	  off
	  MaskType		  "noise"
	  MaskDisplay		  "disp('Noise variance')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "noise variance"
	    Location		    [136, 230, 381, 439]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "cyan"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	  }
	}
	Block {
	  BlockType		  Scope
	  Name			  "r(t)"
	  Ports			  [1]
	  Position		  [60, 70, 90, 100]
	  Orientation		  "up"
	  Location		  [320, 340, 960, 440]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  TimeRange		  "25.000000"
	  YMin			  "-1.500000"
	  YMax			  "1.500000"
	  DataFormat		  "Array"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "receiver diagrams"
	  Ports			  [2]
	  Position		  [680, 15, 735, 55]
	  ShowPortLabels	  off
	  TreatAsAtomicUnit	  off
	  MaskType		  "2D-Diagrams"
	  MaskDescription	  "Eye pattern, signal space trajectory and sc"
"atter plot"

⌨️ 快捷键说明

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