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

📄 gmsk_spectra.mdl

📁 qpsk的simulink仿真 可看ber性能等参数
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      LatchByDelayingOutsideSignal off
      LatchByCopyingInsideSignal off
      Interpolate	      on
    }
    Block {
      BlockType		      Math
      Operator		      "exp"
      OutputSignalType	      "auto"
      SampleTime	      "-1"
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      "M-S-Function"
      FunctionName	      "mlfile"
    }
    Block {
      BlockType		      Mux
      Inputs		      "4"
      DisplayOption	      "none"
      UseBusObject	      off
      BusObject		      "BusObject"
      NonVirtualBus	      off
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      UseBusObject	      off
      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
      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	      "-1"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    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"
    }
  }
  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		    "gmsk_spectra"
    Location		    [143, 173, 885, 718]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      ComplexToRealImag
      Name		      "Complex to\nReal-Imag"
      Ports		      [1, 1]
      Position		      [475, 375, 505, 405]
      ShowName		      off
      Output		      "Real"
    }
    Block {
      BlockType		      ComplexToRealImag
      Name		      "Complex to\nReal-Imag1"
      Ports		      [1, 1]
      Position		      [475, 345, 505, 375]
      ShowName		      off
      Output		      "Real"
    }
    Block {
      BlockType		      ComplexToRealImag
      Name		      "Complex to\nReal-Imag2"
      Ports		      [1, 1]
      Position		      [475, 405, 505, 435]
      ShowName		      off
      Output		      "Real"
    }
    Block {
      BlockType		      Reference
      Name		      "GMSK\nModulator\nBaseband1"
      Ports		      [1, 1]
      Position		      [285, 294, 360, 346]
      SourceBlock	      "commdigbbndcpm2/GMSK\nModulator\nBaseband"
      SourceType	      "GMSK Modulator Baseband"
      ShowPortLabels	      on
      inputType		      "Integer"
      BT		      ".3"
      pulseLength	      "3"
      preHistory	      "1"
      phaseOffset	      "0"
      samplesPerSymbol	      "8"
      outDataType	      "double"
      Port {
	PortNumber		1
	Name			"0.3"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "GMSK\nModulator\nBaseband2"
      Ports		      [1, 1]
      Position		      [280, 189, 355, 241]
      SourceBlock	      "commdigbbndcpm2/GMSK\nModulator\nBaseband"
      SourceType	      "GMSK Modulator Baseband"
      ShowPortLabels	      on
      inputType		      "Integer"
      BT		      ".25"
      pulseLength	      "3"
      preHistory	      "1"
      phaseOffset	      "0"
      samplesPerSymbol	      "8"
      outDataType	      "double"
      Port {
	PortNumber		1
	Name			"0.25"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "GMSK\nModulator\nBaseband3"
      Ports		      [1, 1]
      Position		      [280, 79, 355, 131]
      SourceBlock	      "commdigbbndcpm2/GMSK\nModulator\nBaseband"
      SourceType	      "GMSK Modulator Baseband"
      ShowPortLabels	      on
      inputType		      "Integer"
      BT		      ".2"
      pulseLength	      "3"
      preHistory	      "1"
      phaseOffset	      "0"
      samplesPerSymbol	      "8"
      outDataType	      "double"
      Port {
	PortNumber		1
	Name			"0.2"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [3, 1]
      Position		      [480, 182, 505, 248]
      ShowName		      off
      Inputs		      "3"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Reference
      Name		      "Random-Integer\nGenerator"
      Ports		      [0, 1]
      Position		      [35, 193, 115, 237]
      ShowName		      off
      SourceBlock	      "commrandsrc2/Random Integer\nGenerator"
      SourceType	      "Random Integer Generator"
      ShowPortLabels	      on
      mul		      "2"
      seed		      "[12345]"
      Ts		      "1"
      frameBased	      off
      sampPerFrame	      "50"
      orient		      off
      outDataType	      "double"
    }
    Block {
      BlockType		      Reference
      Name		      "Spectrum\nScope1"
      Ports		      [1]
      Position		      [550, 165, 620, 265]
      DialogController	      "dspdialog.SpectrumScope"
      DialogControllerArgs    "DataTag0"
      SourceBlock	      "dspsnks4/Spectrum\nScope"
      SourceType	      "Spectrum Scope"
      ShowPortLabels	      off
      ScopeProperties	      on
      Domain		      "Frequency"
      HorizSpan		      "1"
      UseBuffer		      on
      BufferSize	      "512"
      Overlap		      "128"
      inpFftLenInherit	      on
      FFTlength		      "1024"
      numAvg		      "1000"
      DisplayProperties	      off
      AxisGrid		      on
      Memory		      off
      FrameNumber	      off
      AxisLegend	      on
      AxisZoom		      off
      OpenScopeAtSimStart     on
      OpenScopeImmediately    off
      FigPos		      "[62 429 560 420]"
      AxisProperties	      off
      XUnits		      "Hertz"
      XRange		      "[-Fs/2...Fs/2]"
      InheritXIncr	      on
      XIncr		      "1.0"
      XLabel		      "Samples"
      YUnits		      "dB"
      YMin		      "-82.2772964429697"
      YMax		      "13.5779754953519"
      YLabel		      "PSD, dB"
      LineProperties	      off
      LineDisables	      "on"
      LineColors	      "[0 0 0]|[0 0 1]|[1 0 0]"
      wintypeSpecScope	      "Hann"
      RsSpecScope	      "50"
      betaSpecScope	      "5"
      winsampSpecScope	      "Periodic"
    }
    Block {
      BlockType		      Scope
      Name		      "Time\nScope1"
      Ports		      [3]
      Position		      [555, 342, 620, 438]
      Floating		      off
      Location		      [88, 424, 770, 873]
      Open		      off
      NumInputPorts	      "3"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
      }
      TimeRange		      "120"
      YMin		      "-5~-5~-5"
      YMax		      "5~5~5"
      SaveName		      "ScopeData1"
      DataFormat	      "Structure"
      MaxDataPoints	      "2000"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Unipolar to\nBipolar\nConverter"
      Ports		      [1, 1]
      Position		      [155, 191, 235, 239]
      ShowName		      off
      SourceBlock	      "commutil2/Unipolar to\nBipolar\nConverter"
      SourceType	      "Unipolar to Bipolar Converter"
      ShowPortLabels	      on
      M			      "2"
      polarity		      "Positive"
    }
    Line {
      SrcBlock		      "Random-Integer\nGenerator"
      SrcPort		      1
      DstBlock		      "Unipolar to\nBipolar\nConverter"
      DstPort		      1
    }
    Line {
      Name		      "0.25"
      Labels		      [0, 0]
      SrcBlock		      "GMSK\nModulator\nBaseband2"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	Labels			[1, 0]
	DstBlock		"Mux"
	DstPort			2
      }
      Branch {
	Points			[0, 175]
	DstBlock		"Complex to\nReal-Imag"
	DstPort			1
      }
    }
    Line {
      Labels		      [0, 0]
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "Spectrum\nScope1"
      DstPort		      1
    }
    Line {
      Name		      "0.3"
      Labels		      [0, 0]
      SrcBlock		      "GMSK\nModulator\nBaseband1"
      SrcPort		      1
      Points		      [70, 0]
      Branch {
	Labels			[2, 0; 1, 1]
	Points			[0, -85]
	DstBlock		"Mux"
	DstPort			3
      }
      Branch {
	Points			[0, 100]
	DstBlock		"Complex to\nReal-Imag2"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Complex to\nReal-Imag1"
      SrcPort		      1
      DstBlock		      "Time\nScope1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Complex to\nReal-Imag"
      SrcPort		      1
      DstBlock		      "Time\nScope1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Complex to\nReal-Imag2"
      SrcPort		      1
      DstBlock		      "Time\nScope1"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Unipolar to\nBipolar\nConverter"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	Points			[0, 105]
	DstBlock		"GMSK\nModulator\nBaseband1"
	DstPort			1
      }
      Branch {
	DstBlock		"GMSK\nModulator\nBaseband2"
	DstPort			1
      }
      Branch {
	Points			[0, -110]
	DstBlock		"GMSK\nModulator\nBaseband3"
	DstPort			1
      }
    }
    Line {
      Name		      "0.2"
      Labels		      [0, 0]
      SrcBlock		      "GMSK\nModulator\nBaseband3"
      SrcPort		      1
      Points		      [50, 0; 0, 90]
      Branch {
	DstBlock		"Mux"
	DstPort			1
      }
      Branch {
	Points			[0, 165]
	DstBlock		"Complex to\nReal-Imag1"
	DstPort			1
      }
    }
    Annotation {
      Name		      "Modulation Spectra (BPSK, MSK, GMSK)"
      Position		      [366, 30]
      UseDisplayTextAsClickCallback off
      FontName		      "Arial"
      FontSize		      20
      FontWeight	      "bold"
    }
  }
}
MatData {
  NumRecords		  1
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    ,     8    (    !          %    "
"\"                0         0          "
  }
}

⌨️ 快捷键说明

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