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

📄 ps.mdl

📁 用MATLAB对QAM进行仿真计算(32QAM)
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	    }
	    Line {
	      SrcBlock		      "S-Function2"
	      SrcPort		      1
	      DstBlock		      "S-Function"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "S-Function"
	      SrcPort		      1
	      DstBlock		      "Qx"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "S-Function2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "SNR"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "r"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Q(AQ)"
	  Ports			  [2, 1]
	  Position		  [155, 177, 220, 233]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskHideContents	  off
	  System {
	    Name		    "Q(AQ)"
	    Location		    [608, 209, 979, 368]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "SNR"
	      Position		      [25, 30, 55, 44]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "r"
	      Position		      [25, 63, 55, 77]
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [2, 1]
	      Position		      [90, 15, 95, 90]
	      ShowName		      off
	      Inputs		      "2"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "S-Function1"
	      Ports		      [1, 1]
	      Position		      [240, 40, 300, 70]
	      FunctionName	      "Q_x"
	      Parameters	      "x"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "S-Function3"
	      Ports		      [1, 1]
	      Position		      [145, 40, 205, 70]
	      FunctionName	      "AQ"
	      Parameters	      "SNR,r"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Qx"
	      Position		      [325, 50, 355, 64]
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      "S-Function3"
	      SrcPort		      1
	      DstBlock		      "S-Function1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "S-Function1"
	      SrcPort		      1
	      Points		      [0, 0]
	      DstBlock		      "Qx"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "SNR"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "r"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "S-Function3"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Q(AQ)1"
	  Ports			  [2, 1]
	  Position		  [160, 392, 220, 443]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskHideContents	  off
	  System {
	    Name		    "Q(AQ)1"
	    Location		    [608, 209, 979, 368]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "SNR"
	      Position		      [25, 28, 55, 42]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "r"
	      Position		      [25, 63, 55, 77]
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [2, 1]
	      Position		      [90, 15, 95, 90]
	      ShowName		      off
	      Inputs		      "2"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "S-Function1"
	      Ports		      [1, 1]
	      Position		      [240, 40, 300, 70]
	      FunctionName	      "Q_x"
	      Parameters	      "x"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "S-Function3"
	      Ports		      [1, 1]
	      Position		      [145, 40, 205, 70]
	      FunctionName	      "AQ"
	      Parameters	      "SNR,r"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Qx"
	      Position		      [325, 48, 355, 62]
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      "S-Function3"
	      SrcPort		      1
	      DstBlock		      "S-Function1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "S-Function1"
	      SrcPort		      1
	      Points		      [0, 0]
	      DstBlock		      "Qx"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "SNR"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "r"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "S-Function3"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum of\nElements"
	  Ports			  [3, 1]
	  Position		  [355, 225, 385, 255]
	  IconShape		  "round"
	  Inputs		  "+++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Ps"
	  Position		  [430, 233, 460, 247]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Q(AI)"
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "2*m1"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Q(AQ)"
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "Product1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "2*m2"
	  SrcPort		  1
	  DstBlock		  "Product1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "SNR"
	  SrcPort		  1
	  Points		  [0, 0; 60, 0]
	  Branch {
	    Points		    [20, 0]
	    DstBlock		    "Q(AI)"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 145]
	    Branch {
	      Points		      [20, 0]
	      DstBlock		      "Q(AQ)"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 150; 0, 0]
	      Branch {
		Points			[25, 0]
		DstBlock		"Q(AI)1"
		DstPort			1
	      }
	      Branch {
		Points			[0, 65]
		DstBlock		"Q(AQ)1"
		DstPort			1
	      }
	    }
	  }
	}
	Line {
	  SrcBlock		  "r"
	  SrcPort		  1
	  Points		  [0, 0; 45, 0]
	  Branch {
	    Points		    [35, 0]
	    DstBlock		    "Q(AQ)"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, -145]
	    DstBlock		    "Q(AI)"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 145; 0, 0]
	    Branch {
	      Points		      [40, 0]
	      DstBlock		      "Q(AI)1"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, 65]
	      DstBlock		      "Q(AQ)1"
	      DstPort		      2
	    }
	  }
	}
	Line {
	  SrcBlock		  "M1"
	  SrcPort		  1
	  Points		  [0, 0; 25, 0]
	  Branch {
	    Points		    [55, 0]
	    DstBlock		    "2*m1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 350]
	    DstBlock		    "Mux"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "Fcn"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "M2"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    Points		    [75, 0]
	    DstBlock		    "2*m2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 220]
	    DstBlock		    "Mux"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Q(AI)1"
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "Product of\nElements"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Q(AQ)1"
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "Product of\nElements"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Product of\nElements"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [85, 0]
	  DstBlock		  "Sum of\nElements"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product of\nElements"
	  SrcPort		  1
	  Points		  [80, 0]
	  DstBlock		  "Sum of\nElements"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Sum of\nElements"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum of\nElements"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Ps"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "SNR"
      SrcPort		      1
      Points		      [0, 0]
      DstBlock		      "Subsystem"
      DstPort		      1
    }
    Line {
      SrcBlock		      "r"
      SrcPort		      1
      Points		      [0, 0]
      DstBlock		      "Subsystem"
      DstPort		      2
    }
    Line {
      SrcBlock		      "M1"
      SrcPort		      1
      Points		      [0, 0]
      DstBlock		      "Subsystem"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Subsystem"
      SrcPort		      1
      DstBlock		      "Scope"
      DstPort		      1
    }
    Line {
      SrcBlock		      "M2"
      SrcPort		      1
      Points		      [0, 0]
      DstBlock		      "Subsystem"
      DstPort		      4
    }
  }
}

⌨️ 快捷键说明

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