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

📄 tiaopon.mdl

📁 跳频系统的matlab仿真
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	      SrcBlock		      " 1"
	      SrcPort		      1
	      Points		      [35, 0; 0, 5]
	      DstBlock		      "Complex to\nReal-Imag"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "  "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product2"
	      SrcPort		      1
	      Points		      [45, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product1"
	      SrcPort		      1
	      Points		      [45, 0]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Complex to\nReal-Imag"
	      SrcPort		      2
	      Points		      [10, 0]
	      DstBlock		      "Product2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Complex to\nReal-Imag"
	      SrcPort		      1
	      Points		      [10, 0]
	      DstBlock		      "Product1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Complex to\nReal-Imag1"
	      SrcPort		      1
	      Points		      [15, 0; 0, -60]
	      DstBlock		      "Zero-Order\nHold"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Complex to\nReal-Imag1"
	      SrcPort		      2
	      Points		      [15, 0; 0, 55]
	      DstBlock		      "Zero-Order\nHold1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      " "
	      SrcPort		      1
	      DstBlock		      "Complex to\nReal-Imag1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Zero-Order\nHold"
	      SrcPort		      1
	      DstBlock		      "Product1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Zero-Order\nHold1"
	      SrcPort		      1
	      DstBlock		      "Product2"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "out_1"
	  Position		  [480, 45, 500, 65]
	  ShowName		  off
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Inherit Shape"
	  SrcPort		  1
	  DstBlock		  "out_1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "PAM/QAM/PSK\nFrequency\nUp-Converter"
	  SrcPort		  1
	  Points		  [0, -10]
	  DstBlock		  "Inherit Shape"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "M-PSK\nModulator\nBaseband"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "PAM/QAM/PSK\nFrequency\nUp-Converter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Check Signal\nAttributes"
	  SrcPort		  1
	  DstBlock		  "M-PSK\nModulator\nBaseband"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "in_1"
	  SrcPort		  1
	  Points		  [0, 0; 5, 0]
	  Branch {
	    DstBlock		    "Check Signal\nAttributes"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 50; 310, 0]
	    DstBlock		    "Inherit Shape"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "in_2"
	  SrcPort		  1
	  Points		  [60, 0]
	  DstBlock		  "PAM/QAM/PSK\nFrequency\nUp-Converter"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Random Integer\nGenerator"
      Ports		      [0, 1]
      Position		      [595, 178, 675, 222]
      FontName		      "Arial"
      SourceBlock	      "commrandsrc2/Random Integer\nGenerator"
      SourceType	      "Random Integer Generator"
      mul		      "2"
      seed		      "12345"
      Ts		      "0.1"
      frameBased	      off
      sampPerFrame	      "1"
      orient		      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [2]
      Position		      [920, 101, 950, 134]
      Location		      [311, 445, 635, 684]
      Open		      off
      NumInputPorts	      "2"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
      }
      YMin		      "-5~-5"
      YMax		      "5~5"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      SubSystem
      Name		      "ca"
      Ports		      [0, 1]
      Position		      [590, 270, 630, 330]
      TreatAsAtomicUnit	      off
      System {
	Name			"ca"
	Location		[0, 82, 1268, 775]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "Bit to Integer\nConverter"
	  Ports			  [1, 1]
	  Position		  [555, 380, 635, 420]
	  Orientation		  "left"
	  SourceBlock		  "commutil2/Bit to Integer\nConverter"
	  SourceType		  "Bit to Integer Converter"
	  nbits			  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Buffer"
	  Ports			  [1, 1]
	  Position		  [750, 375, 800, 425]
	  Orientation		  "left"
	  SourceBlock		  "dspbuff3/Buffer"
	  SourceType		  "Buffer"
	  N			  "64"
	  V			  "0"
	  ic			  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "PN Sequence\nGenerator"
	  Ports			  [0, 1]
	  Position		  [850, 380, 930, 420]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  SourceBlock		  "commseqgen2/PN Sequence\nGenerator"
	  SourceType		  "PN Sequence Generator"
	  poly			  "[1 1 0 0 1]"
	  ini_sta		  "[1 1 0 1]"
	  shift			  "0"
	  Ts			  "1/400"
	  frameBased		  off
	  sampPerFrame		  "1"
	  reset			  off
	}
	Block {
	  BlockType		  RealImagToComplex
	  Name			  "Real-Imag to\nComplex"
	  Ports			  [2, 1]
	  Position		  [615, 268, 645, 297]
	  Input			  "Real and imag"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope"
	  Ports			  [2]
	  Position		  [585, 121, 615, 154]
	  Location		  [322, 595, 646, 834]
	  Open			  off
	  NumInputPorts		  "2"
	  TickLabels		  "on"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	    axes2		    "%<SignalLabel>"
	  }
	  List {
	    ListType		    SelectedSignals
	    axes1		    ""
	    axes2		    ""
	  }
	  YMin			  "-5~-5"
	  YMax			  "5~5"
	  DataFormat		  "StructureWithTime"
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace"
	  Position		  [190, 220, 250, 250]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  VariableName		  "s"
	  MaxDataPoints		  "inf"
	  SampleTime		  "-1"
	  SaveFormat		  "Structure"
	}
	Block {
	  BlockType		  TransportDelay
	  Name			  "Transport\nDelay"
	  Position		  [535, 270, 565, 300]
	  DelayTime		  "1/(4*m)"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Unbuffer"
	  Ports			  [1, 1]
	  Position		  [420, 375, 470, 425]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  SourceBlock		  "dspbuff3/Unbuffer"
	  SourceType		  "Unbuffer"
	  ic			  "4"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Voltage-Controlled\nOscillator"
	  Ports			  [1, 1]
	  Position		  [385, 233, 465, 277]
	  FontName		  "Arial"
	  SourceBlock		  "commcontsrc2/Voltage-Controlled\nOscillator"
	  SourceType		  "Voltage-Controlled Oscillator"
	  Ac			  "1"
	  Fc			  "f"
	  Kc			  "d"
	  Ph			  "0"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "Zero-Order\nHold"
	  Position		  [260, 326, 295, 364]
	  SampleTime		  "1/100"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "Zero-Order\nHold1"
	  Position		  [765, 251, 800, 289]
	  SampleTime		  "1e-5"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [920, 268, 950, 282]
	}
	Line {
	  SrcBlock		  "PN Sequence\nGenerator"
	  SrcPort		  1
	  DstBlock		  "Buffer"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Buffer"
	  SrcPort		  1
	  DstBlock		  "Bit to Integer\nConverter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Bit to Integer\nConverter"
	  SrcPort		  1
	  DstBlock		  "Unbuffer"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Unbuffer"
	  SrcPort		  1
	  Points		  [-180, 0; 0, -55]
	  DstBlock		  "Zero-Order\nHold"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Zero-Order\nHold"
	  SrcPort		  1
	  Points		  [35, 0; 0, -90]
	  Branch {
	    DstBlock		    "Voltage-Controlled\nOscillator"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -20]
	    Branch {
	      DstBlock		      "To Workspace"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, -105]
	      DstBlock		      "Scope"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Voltage-Controlled\nOscillator"
	  SrcPort		  1
	  Points		  [0, 0; 15, 0]
	  Branch {
	    Points		    [35, 0]
	    DstBlock		    "Transport\nDelay"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -35]
	    Branch {
	      Points		      [0, -75]
	      DstBlock		      "Scope"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [115, 0]
	      DstBlock		      "Real-Imag to\nComplex"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Transport\nDelay"
	  SrcPort		  1
	  Points		  [15, 0; 0, 5]
	  DstBlock		  "Real-Imag to\nComplex"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Real-Imag to\nComplex"
	  SrcPort		  1
	  Points		  [50, 0; 0, -15]
	  DstBlock		  "Zero-Order\nHold1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Zero-Order\nHold1"
	  SrcPort		  1
	  Points		  [50, 0; 0, 5]
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Random Integer\nGenerator"
      SrcPort		      1
      Points		      [0, 0; 25, 0]
      Branch {
	Points			[0, 30; 45, 0]
	DstBlock		"M-PSK\nModulator\nPassband"
	DstPort			1
      }
      Branch {
	Points			[0, -10; 115, 0]
	Branch {
	  Points		  [260, 0]
	  DstBlock		  "Error Rate\nCalculation"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -80]
	  DstBlock		  "Scope"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "M-PSK\nDemodulator\nPassband"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	Points			[25, 0]
	DstBlock		"Error Rate\nCalculation"
	DstPort			2
      }
      Branch {
	Points			[0, -95; -190, 0; 0, -40]
	DstBlock		"Scope"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "AWGN\nChannel"
      SrcPort		      1
      Points		      [0, -5]
      DstBlock		      "M-PSK\nDemodulator\nPassband"
      DstPort		      1
    }
    Line {
      SrcBlock		      "M-PSK\nModulator\nPassband"
      SrcPort		      1
      DstBlock		      "AWGN\nChannel"
      DstPort		      1
    }
    Line {
      SrcBlock		      "ca"
      SrcPort		      1
      Points		      [115, 0]
      Branch {
	DstBlock		"M-PSK\nModulator\nPassband"
	DstPort			2
      }
      Branch {
	Points			[205, 0]
	DstBlock		"M-PSK\nDemodulator\nPassband"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Error Rate\nCalculation"
      SrcPort		      1
      Points		      [15, 0; 0, 10]
      DstBlock		      "Display"
      DstPort		      1
    }
  }
}

⌨️ 快捷键说明

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