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

📄 qpsk.err

📁 就是qpsk用matlab实现调制解调以及扩频接扩
💻 ERR
📖 第 1 页 / 共 2 页
字号:
      BusObject		      "BusObject"
      NonVirtualBus	      off
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Product
      Inputs		      "2"
      Multiplication	      "Element-wise(.*)"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Rounding
      Operator		      "floor"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Scope
      Floating		      off
      ModelBased	      off
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      PortCounts	      "[]"
      SFunctionModules	      "''"
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Terminator
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "qpsk"
    Location		    [2, 82, 1014, 712]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "AWGN\nChannel"
      Ports		      [1, 1]
      Position		      [929, 240, 971, 320]
      Orientation	      "down"
      SourceBlock	      "commchan2/AWGN\nChannel"
      SourceType	      "AWGN Channel"
      ShowPortLabels	      on
      seed		      "1237"
      noiseMode		      "Signal to noise ratio  (Eb/No)"
      EbNodB		      "-20"
      EsNodB		      "10"
      SNRdB		      "10"
      bitsPerSym	      "1"
      Ps		      "1"
      Tsym		      "1/15"
      variance		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Bipolar to\nUnipolar\nConverter"
      Ports		      [1, 1]
      Position		      [555, 148, 635, 192]
      SourceBlock	      "commutil2/Bipolar to\nUnipolar\nConverter"
      SourceType	      "Bipolar to Unipolar Converter"
      ShowPortLabels	      on
      M			      "2"
      polarity		      "Positive"
    }
    Block {
      BlockType		      Reference
      Name		      "Bit to Integer\nConverter"
      Ports		      [1, 1]
      Position		      [700, 148, 780, 192]
      FontSize		      10
      SourceBlock	      "commutil2/Bit to Integer\nConverter"
      SourceType	      "Bit to Integer Converter"
      nbits		      "4"
    }
    Block {
      BlockType		      Reference
      Name		      "Discrete-Time\nEye Diagram\nScope1"
      Tag		      "EyeDiagram"
      Ports		      [1]
      Position		      [734, 375, 786, 450]
      Orientation	      "down"
      NamePlacement	      "alternate"
      SourceBlock	      "commsink2/Discrete-Time\nEye Diagram\nScope"
      SourceType	      "Discrete-Time Eye Diagram Scope"
      ShowPortLabels	      on
      sampPerSymb	      "8"
      offsetEye		      "0"
      symbPerTrace	      "1"
      numTraces		      "40"
      numNewFrames	      "10"
      LineStyles	      "-"
      LineColors	      "b"
      dupPoints		      on
      fading		      on
      render		      on
      AxisGrid		      on
      yMin		      "-1.5"
      yMax		      "1.5"
      inphaseLabel	      "In-phase Amplitude"
      quadratureLabel	      "Quadrature Amplitude"
      openScopeAtSimStart     on
      dispDiagram	      "In-phase and Quadrature"
      FrameNumber	      off
      FigPos		      "[232 24 560 644]"
      figTitle		      "Eye Diagram"
      block_type_	      "eye"
      numLinesMax	      "8"
    }
    Block {
      BlockType		      Reference
      Name		      "PN Sequence\nGenerator"
      Ports		      [0, 1]
      Position		      [95, 213, 175, 257]
      SourceBlock	      "commseqgen2/PN Sequence\nGenerator"
      SourceType	      "PN Sequence Generator"
      poly		      "[1 1 0 0 1]"
      ini_sta		      "[1 0 0 0]"
      shift		      "0"
      Ts		      "1"
      frameBased	      off
      sampPerFrame	      "1"
      reset		      off
    }
    Block {
      BlockType		      Product
      Name		      "Product"
      Ports		      [2, 1]
      Position		      [460, 151, 490, 184]
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Product
      Name		      "Product1"
      Ports		      [2, 1]
      Position		      [305, 322, 335, 353]
      Orientation	      "left"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Reference
      Name		      "QPSK\nDemodulator\nBaseband"
      Ports		      [1, 1]
      Position		      [560, 320, 635, 370]
      Orientation	      "left"
      NamePlacement	      "alternate"
      SourceBlock	      "commdigbbndpm2/QPSK\nDemodulator\nBaseband"
      SourceType	      "QPSK Demodulator Baseband"
      ShowPortLabels	      on
      OutType		      "Bit"
      Dec		      "Binary"
      Ph		      "pi/4"
      numSamp		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "QPSK\nModulator\nBaseband"
      Ports		      [1, 1]
      Position		      [825, 146, 900, 194]
      SourceBlock	      "commdigbbndpm2/QPSK\nModulator\nBaseband"
      SourceType	      "QPSK Modulator Baseband"
      ShowPortLabels	      on
      InType		      "Integer"
      Enc		      "Binary"
      Ph		      "0"
      numSamp		      "4"
    }
    Block {
      BlockType		      Reference
      Name		      "Random Integer\nGenerator"
      Ports		      [0, 1]
      Position		      [90, 138, 170, 182]
      FontName		      "Arial"
      SourceBlock	      "commrandsrc2/Random Integer\nGenerator"
      SourceType	      "Random Integer Generator"
      ShowPortLabels	      on
      mul		      "2"
      seed		      "12345"
      Ts		      "15"
      frameBased	      off
      sampPerFrame	      "1"
      orient		      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [4]
      Position		      [570, 49, 620, 116]
      Location		      [5, 54, 1029, 748]
      Open		      off
      NumInputPorts	      "4"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"示波器观看"
	axes2			"示波器 观看"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
      }
      YMin		      "-2~-2~-2~-2"
      YMax		      "2~2~2~2"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1]
      Position		      [690, 38, 720, 72]
      Location		      [1, 50, 1025, 737]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"这是什么?????"
      }
      YMin		      "-2"
      YMax		      "2"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Reference
      Name		      "Spectrum\nScope"
      Ports		      [1]
      Position		      [880, 55, 915, 105]
      SourceBlock	      "dspsnks4/Spectrum\nScope"
      SourceType	      "Spectrum Scope"
      ShowPortLabels	      off
      ScopeProperties	      on
      Domain		      "Frequency"
      HorizSpan		      "1"
      UseBuffer		      off
      BufferSize	      "128"
      Overlap		      "64"
      inpFftLenInherit	      off
      FFTlength		      "128"
      numAvg		      "2"
      DisplayProperties	      off
      AxisGrid		      on
      Memory		      off
      FrameNumber	      on
      AxisLegend	      off
      AxisZoom		      off
      OpenScopeAtSimStart     on
      OpenScopeImmediately    off
      FigPos		      "get(0,'defaultfigureposition')"
      AxisProperties	      off
      XUnits		      "Hertz"
      XRange		      "[0...Fs/2]"
      InheritXIncr	      on
      XIncr		      "1.0"
      XLabel		      "Samples"
      YUnits		      "dB"
      YMin		      "-10"
      YMax		      "10"
      YLabel		      "Magnitude, dB"
      LineProperties	      off
    }
    Block {
      BlockType		      Terminator
      Name		      "Terminator"
      Position		      [210, 330, 230, 350]
      Orientation	      "left"
    }
    Block {
      BlockType		      Reference
      Name		      "Unipolar to\nBipolar\nConverter"
      Ports		      [1, 1]
      Position		      [260, 138, 340, 182]
      SourceBlock	      "commutil2/Unipolar to\nBipolar\nConverter"
      SourceType	      "Unipolar to Bipolar Converter"
      ShowPortLabels	      on
      M			      "2"
      polarity		      "Positive"
    }
    Block {
      BlockType		      Reference
      Name		      "Unipolar to\nBipolar\nConverter1"
      Ports		      [1, 1]
      Position		      [260, 213, 340, 257]
      SourceBlock	      "commutil2/Unipolar to\nBipolar\nConverter"
      SourceType	      "Unipolar to Bipolar Converter"
      ShowPortLabels	      on
      M			      "2"
      polarity		      "Positive"
    }
    Line {
      SrcBlock		      "QPSK\nModulator\nBaseband"
      SrcPort		      1
      Points		      [45, 0]
      DstBlock		      "AWGN\nChannel"
      DstPort		      1
    }
    Line {
      SrcBlock		      "AWGN\nChannel"
      SrcPort		      1
      Points		      [0, 20; -190, 0; 0, 20]
      Branch {
	DstBlock		"Discrete-Time\nEye Diagram\nScope1"
	DstPort			1
      }
      Branch {
	Points			[0, -20]
	DstBlock		"QPSK\nDemodulator\nBaseband"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Product"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	Points			[0, -65]
	DstBlock		"Scope"
	DstPort			4
      }
      Branch {
	DstBlock		"Bipolar to\nUnipolar\nConverter"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Random Integer\nGenerator"
      SrcPort		      1
      Points		      [55, 0]
      Branch {
	DstBlock		"Unipolar to\nBipolar\nConverter"
	DstPort			1
      }
      Branch {
	Points			[0, -100]
	DstBlock		"Scope"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "QPSK\nDemodulator\nBaseband"
      SrcPort		      1
      DstBlock		      "Product1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Product1"
      SrcPort		      1
      DstBlock		      "Terminator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Unipolar to\nBipolar\nConverter"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	DstBlock		"Product"
	DstPort			1
      }
      Branch {
	Points			[0, -85]
	DstBlock		"Scope"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "PN Sequence\nGenerator"
      SrcPort		      1
      DstBlock		      "Unipolar to\nBipolar\nConverter1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Unipolar to\nBipolar\nConverter1"
      SrcPort		      1
      Points		      [65, 0]
      Branch {
	Points			[0, 95]
	DstBlock		"Product1"
	DstPort			1
      }
      Branch {
	Points			[0, -60]
	Branch {
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Branch {
	  Points		  [0, -85]
	  DstBlock		  "Scope"
	  DstPort		  3
	}
      }
    }
    Line {
      SrcBlock		      "Bipolar to\nUnipolar\nConverter"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	Points			[0, -115]
	DstBlock		"Scope1"
	DstPort			1
      }
      Branch {
	DstBlock		"Bit to Integer\nConverter"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Bit to Integer\nConverter"
      SrcPort		      1
      DstBlock		      "QPSK\nModulator\nBaseband"
      DstPort		      1
    }
  }
}

⌨️ 快捷键说明

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