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

📄 qam16.mdl

📁 QAM通信系统用matlab进行仿真
💻 MDL
📖 第 1 页 / 共 4 页
字号:
      Position		      [25, 466, 65, 494]
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "A"
    }
    Block {
      BlockType		      From
      Name		      "From1"
      Position		      [65, 41, 105, 69]
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "B"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto"
      Position		      [915, 85, 955, 115]
      DialogController	      "Simulink.DDGSource"
      GotoTag		      "A"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto2"
      Position		      [470, 305, 510, 335]
      Orientation	      "left"
      NamePlacement	      "alternate"
      DialogController	      "Simulink.DDGSource"
      GotoTag		      "B"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Reference
      Name		      "I-Raised Cosine\nTransmit Filter"
      Ports		      [1, 1]
      Position		      [375, 133, 455, 177]
      LinkData {
	BlockName		"Check Signal\nAttributes"
	DialogParameters {
	  Frame			  "Sample-based"
	  Dimensions		  "Scalar (1-D or 2-D)"
	}
	BlockName		"FIR\nInterpolation"
	DialogParameters {
	  framing		  "Maintain input frame size"
	}
      }
      SourceBlock	      "commfilt2/Raised Cosine\nTransmit Filter"
      SourceType	      "Raised Cosine Transmit Filter"
      ShowPortLabels	      on
      filtType		      "Square root"
      D			      "3"
      R			      "0.5"
      sampMode		      "Sample-based"
      N			      "10"
      checkGain		      "User-specified"
      filterGain	      "1"
      checkCoeff	      off
      variableName	      "rcTxFilt"
      launchFVT		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Integer Delay"
      Ports		      [1, 1]
      Position		      [410, 63, 445, 97]
      SourceBlock	      "simulink/Discrete/Integer Delay"
      SourceType	      "Integer Delay"
      vinit		      "0.0"
      samptime		      "0.1"
      NumDelays		      "26"
    }
    Block {
      BlockType		      Reference
      Name		      "Integer Delay1"
      Ports		      [1, 1]
      Position		      [953, 370, 987, 405]
      Orientation	      "down"
      NamePlacement	      "alternate"
      SourceBlock	      "simulink/Discrete/Integer Delay"
      SourceType	      "Integer Delay"
      vinit		      "0.0"
      samptime		      "0.1"
      NumDelays		      "26"
    }
    Block {
      BlockType		      Product
      Name		      "Product"
      Ports		      [2, 1]
      Position		      [590, 147, 620, 178]
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
      SampleTime	      "0.01"
    }
    Block {
      BlockType		      Product
      Name		      "Product1"
      Ports		      [2, 1]
      Position		      [590, 227, 620, 258]
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
      SampleTime	      "0.01"
    }
    Block {
      BlockType		      Product
      Name		      "Product2"
      Ports		      [2, 1]
      Position		      [160, 397, 190, 428]
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
      SampleTime	      "0.01"
    }
    Block {
      BlockType		      Product
      Name		      "Product3"
      Ports		      [2, 1]
      Position		      [160, 537, 190, 568]
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
      SampleTime	      "0.01"
    }
    Block {
      BlockType		      Reference
      Name		      "Q-Raised Cosine\nTransmit Filter1"
      Ports		      [1, 1]
      Position		      [375, 228, 455, 272]
      LinkData {
	BlockName		"Check Signal\nAttributes"
	DialogParameters {
	  Frame			  "Sample-based"
	  Dimensions		  "Scalar (1-D or 2-D)"
	}
	BlockName		"FIR\nInterpolation"
	DialogParameters {
	  framing		  "Maintain input frame size"
	}
      }
      SourceBlock	      "commfilt2/Raised Cosine\nTransmit Filter"
      SourceType	      "Raised Cosine Transmit Filter"
      ShowPortLabels	      on
      filtType		      "Square root"
      D			      "3"
      R			      "0.5"
      sampMode		      "Sample-based"
      N			      "10"
      checkGain		      "User-specified"
      filterGain	      "1"
      checkCoeff	      off
      variableName	      "rcTxFilt1"
      launchFVT		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Raised Cosine\nReceive Filter"
      Ports		      [1, 1]
      Position		      [230, 393, 310, 437]
      LinkData {
	BlockName		"Check Signal\nAttributes"
	DialogParameters {
	  Frame			  "Sample-based"
	  Dimensions		  "Scalar (1-D or 2-D)"
	}
	BlockName		"Downsample"
	DialogParameters {
	  smode			  "Allow multirate"
	  fmode			  "Maintain input frame size"
	}
      }
      SourceBlock	      "commfilt2/Raised Cosine\nReceive Filter"
      SourceType	      "Raised Cosine Receive Filter"
      ShowPortLabels	      on
      filtType		      "Square root"
      N			      "10"
      D			      "3"
      R			      "0.5"
      sampMode		      "Sample-based"
      rateMode		      "None"
      downFactor	      "10"
      downOffset	      "0"
      checkGain		      "User-specified"
      filterGain	      "1.5"
      checkCoeff	      off
      variableName	      "rcRxFilt1"
      launchFVT		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Raised Cosine\nReceive Filter1"
      Ports		      [1, 1]
      Position		      [230, 533, 310, 577]
      LinkData {
	BlockName		"Check Signal\nAttributes"
	DialogParameters {
	  Frame			  "Sample-based"
	  Dimensions		  "Scalar (1-D or 2-D)"
	}
	BlockName		"Downsample"
	DialogParameters {
	  smode			  "Allow multirate"
	  fmode			  "Maintain input frame size"
	}
      }
      SourceBlock	      "commfilt2/Raised Cosine\nReceive Filter"
      SourceType	      "Raised Cosine Receive Filter"
      ShowPortLabels	      on
      filtType		      "Square root"
      N			      "10"
      D			      "3"
      R			      "0.5"
      sampMode		      "Sample-based"
      rateMode		      "None"
      downFactor	      "10"
      downOffset	      "0"
      checkGain		      "User-specified"
      filterGain	      "1.5"
      checkCoeff	      off
      variableName	      "rcRxFilt1"
      launchFVT		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Random Integer\nGenerator"
      Ports		      [0, 1]
      Position		      [20, 183, 100, 227]
      FontName		      "Arial"
      SourceBlock	      "commrandsrc2/Random Integer\nGenerator"
      SourceType	      "Random Integer Generator"
      ShowPortLabels	      on
      mul		      "16"
      seed		      "27"
      Ts		      "0.05"
      frameBased	      off
      sampPerFrame	      "2"
      orient		      off
    }
    Block {
      BlockType		      RealImagToComplex
      Name		      "Real-Imag to\nComplex"
      Ports		      [2, 1]
      Position		      [365, 478, 395, 507]
      Input		      "Real and imag"
    }
    Block {
      BlockType		      Reference
      Name		      "Rectangular QAM\nModulator\nBaseband"
      Ports		      [1, 1]
      Position		      [140, 179, 215, 231]
      SourceBlock	      "commdigbbndam2/Rectangular QAM\nModulator\nBase"
"band"
      SourceType	      "Rectangular QAM Modulator Baseband"
      M			      "16"
      InType		      "Integer"
      Enc		      "Binary"
      PowType		      "Min. distance between symbols"
      MinDist		      "2"
      AvgPow		      "1"
      PeakPow		      "1"
      Ph		      "0"
      numSamp		      "1"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1]
      Position		      [895, 414, 925, 446]
      Orientation	      "left"
      NamePlacement	      "alternate"
      Location		      [-183, 424, 830, 729]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope10"
      Ports		      [1]
      Position		      [469, 15, 501, 45]
      Orientation	      "up"
      Location		      [5, 96, 1025, 354]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "5"
      YMin		      "-3"
      YMax		      "3"
      SaveName		      "ScopeData10"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope13"
      Ports		      [1]
      Position		      [340, 14, 370, 46]
      Orientation	      "left"
      NamePlacement	      "alternate"
      Location		      [5, 408, 1025, 666]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "5"
      YMin		      "-3"
      YMax		      "3"
      SaveName		      "ScopeData13"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope2"
      Ports		      [1]
      Position		      [910, 189, 940, 221]
      Location		      [1, 45, 1025, 739]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData2"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope3"
      Ports		      [1]
      Position		      [329, 335, 361, 365]
      Orientation	      "up"
      Location		      [5, 405, 1022, 727]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData3"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope4"
      Ports		      [1]
      Position		      [329, 605, 361, 635]
      Orientation	      "down"
      NamePlacement	      "alternate"
      Location		      [6, 396, 1015, 712]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData4"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope5"
      Ports		      [1]
      Position		      [304, 110, 336, 140]
      Orientation	      "up"
      Location		      [4, 118, 1024, 376]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "5"
      YMin		      "-3"
      YMax		      "3"
      SaveName		      "ScopeData5"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope7"
      Ports		      [1]
      Position		      [304, 265, 336, 295]
      Orientation	      "down"
      NamePlacement	      "alternate"
      Location		      [8, 58, 1007, 348]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData7"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope9"
      Ports		      [1]
      Position		      [524, 400, 556, 430]
      Orientation	      "down"
      NamePlacement	      "alternate"
      Location		      [-5, 364, 984, 685]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "10"
      YMin		      "-1"
      YMax		      "1"
      SaveName		      "ScopeData9"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Selector
      Name		      "Selector"
      Ports		      [1, 1]
      Position		      [785, 566, 825, 604]
      BackgroundColor	      "[1.000000, 1.000000, 0.501961]"
      Elements		      "-1"
      InputPortWidth	      "20"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave"
      Ports		      [0, 1]
      Position		      [490, 155, 520, 185]
      SineType		      "Time based"
      Frequency		      "50"
      Phase		      "pi/2"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave1"
      Ports		      [0, 1]
      Position		      [495, 220, 525, 250]
      SineType		      "Time based"
      Frequency		      "50"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave2"
      Ports		      [0, 1]
      Position		      [50, 390, 80, 420]
      SineType		      "Time based"
      Frequency		      "50"
      Phase		      "pi/2"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave3"
      Ports		      [0, 1]
      Position		      [45, 545, 75, 575]
      SineType		      "Time based"
      Frequency		      "50"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Squaring\nTiming Recovery"
      Ports		      [1, 2]
      Position		      [590, 465, 710, 520]
      SourceBlock	      "commtimrec2/Squaring\nTiming Recovery"
      SourceType	      "Squaring Timing Recovery"
      ShowPortLabels	      on
      numSymb		      "20"
      sampPerSymb	      "10"
    }
    Line {
      SrcBlock		      "Random Integer\nGenerator"
      SrcPort		      1
      DstBlock		      "Rectangular QAM\nModulator\nBaseband"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Rectangular QAM\nModulator\nBaseband"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Complex to\nReal-Imag"
	DstPort			1
      }
      Branch {
	Points			[0, -85]
	DstBlock		"Discrete-Time\nScatter Plot\nScope3"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Complex to\nReal-Imag"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	Points			[20, 0; 0, -40]
	Branch {
	  DstBlock		  "I-Raised Cosine\nTransmit Filter"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "Scope5"
	  DstPort		  1
	}
      }
      Branch {
	Points			[0, -115]
	DstBlock		"Integer Delay"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Complex to\nReal-Imag"
      SrcPort		      2
      Points		      [25, 0; 0, 40]
      Branch {
	DstBlock		"Q-Raised Cosine\nTransmit Filter1"
	DstPort			1
      }
      Branch {
	DstBlock		"Scope7"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Q-Raised Cosine\nTransmit Filter1"
      SrcPort		      1
      DstBlock		      "Product1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Product1"
      SrcPort		      1
      Points		      [20, 0; 0, -35]
      DstBlock		      "Add"
      DstPort		      2
    }
    Line {

⌨️ 快捷键说明

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