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

📄 gaosiruili01.mdl

📁 高斯白噪声瑞利信道的分析
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Ground
    }
    Block {
      BlockType		      Inport
      Port		      "1"
      UseBusObject	      off
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      LatchByDelayingOutsideSignal off
      LatchByCopyingInsideSignal off
      Interpolate	      on
    }
    Block {
      BlockType		      "M-S-Function"
      FunctionName	      "mlfile"
    }
    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"
    }
    Block {
      BlockType		      Terminator
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "arial"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "arial"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "gaosiruili01"
    Location		    [2, 82, 997, 721]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "104"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "AWGN\nChannel1"
      Ports		      [1, 1]
      Position		      [335, 151, 430, 209]
      SourceBlock	      "commchan3/AWGN\nChannel"
      SourceType	      "AWGN Channel"
      ShowPortLabels	      on
      seed		      "67"
      noiseMode		      "Signal to noise ratio  (SNR)"
      EbNodB		      "100"
      EsNodB		      "30"
      SNRdB		      "30"
      bitsPerSym	      "1"
      Ps		      "1"
      Tsym		      "1"
      variance		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Bipolar to\nUnipolar\nConverter"
      Ports		      [1, 1]
      Position		      [655, 158, 735, 202]
      SourceBlock	      "commutil2/Bipolar to\nUnipolar\nConverter"
      SourceType	      "Bipolar to Unipolar Converter"
      ShowPortLabels	      on
      M			      "2"
      polarity		      "Positive"
    }
    Block {
      BlockType		      Display
      Name		      "Display1"
      Ports		      [1]
      Position		      [780, 318, 935, 412]
      Format		      "long_e"
      Decimation	      "1"
      Lockdown		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Error Rate\nCalculation1"
      Ports		      [2, 1]
      Position		      [835, 151, 910, 204]
      SourceBlock	      "commsink2/Error Rate\nCalculation"
      SourceType	      "Error Rate Calculation"
      N			      "16"
      st_delay		      "0"
      cp_mode		      "Entire frame"
      subframe		      "[3 1 1]"
      PMode		      "Port"
      WsName		      "ErrorVec"
      RsMode2		      off
      stop		      off
      numErr		      "100"
      maxBits		      "1e6"
    }
    Block {
      BlockType		      Reference
      Name		      "GMSK\nDemodulator\nBaseband"
      Ports		      [1, 1]
      Position		      [560, 154, 635, 206]
      SourceBlock	      "commdigbbndcpm2/GMSK\nDemodulator\nBaseband"
      SourceType	      "GMSK Demodulator Baseband"
      ShowPortLabels	      on
      OutputType	      "Integer"
      BT		      ".3"
      pulseLength	      "4"
      preHistory	      "1"
      phaseOffset	      "0"
      samplesPerSymbol	      "4"
      traceBack		      "16"
      outDType		      "double"
    }
    Block {
      BlockType		      Reference
      Name		      "GMSK\nModulator\nBaseband"
      Ports		      [1, 1]
      Position		      [240, 154, 315, 206]
      SourceBlock	      "commdigbbndcpm2/GMSK\nModulator\nBaseband"
      SourceType	      "GMSK Modulator Baseband"
      ShowPortLabels	      on
      inputType		      "Integer"
      BT		      ".3"
      pulseLength	      "4"
      preHistory	      "1"
      phaseOffset	      "0"
      samplesPerSymbol	      "4"
      outDataType	      "double"
    }
    Block {
      BlockType		      Reference
      Name		      "GMSK Discrete-Time"
      Tag		      "ScatterPlot"
      Ports		      [1]
      Position		      [400, 454, 475, 506]
      Diagnostics	      "AllowInheritedTsInSrc"
      SourceBlock	      "commsink2/Discrete-Time\nScatter Plot\nScope"
      SourceType	      "Discrete-Time Scatter Plot Scope"
      ShowPortLabels	      on
      sampPerSymb	      "1"
      offsetEye		      "0"
      numTraces		      "40"
      numNewFrames	      "10"
      LineMarkers	      "."
      LineColors	      "b"
      fading		      on
      render		      on
      AxisGrid		      on
      xMin		      "-3.3"
      xMax		      "3.315"
      yMin		      "-3.3"
      yMax		      "3.315"
      inphaseLabel	      "In-phase Amplitude"
      quadratureLabel	      "Quadrature Amplitude"
      openScopeAtSimStart     on
      FrameNumber	      off
      FigPos		      "[360 362 560 560]"
      figTitle		      "Scatter Plot"
      numLinesMax	      "8"
      block_type_	      "scatter"
    }
    Block {
      BlockType		      Reference
      Name		      "GMSK jietiao Eye Diagram"
      Tag		      "EyeDiagram"
      Ports		      [1]
      Position		      [775, 459, 850, 511]
      Diagnostics	      "AllowInheritedTsInSrc"
      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		      "-3.15"
      yMax		      "3.15"
      inphaseLabel	      "In-phase Amplitude"
      quadratureLabel	      "Quadrature Amplitude"
      openScopeAtSimStart     on
      dispDiagram	      "In-phase and Quadrature"
      FrameNumber	      off
      FigPos		      "[360 278 560 644]"
      figTitle		      "Eye Diagram"
      block_type_	      "eye"
      numLinesMax	      "8"
    }
    Block {
      BlockType		      Reference
      Name		      "GMSK tiaozhi Eye Diagram"
      Tag		      "EyeDiagram"
      Ports		      [1]
      Position		      [400, 369, 475, 421]
      Diagnostics	      "AllowInheritedTsInSrc"
      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		      "-3.15"
      yMax		      "3.15"
      inphaseLabel	      "In-phase Amplitude"
      quadratureLabel	      "Quadrature Amplitude"
      openScopeAtSimStart     on
      dispDiagram	      "In-phase and Quadrature"
      FrameNumber	      off
      FigPos		      "[360 278 560 644]"
      figTitle		      "Eye Diagram"
      block_type_	      "eye"
      numLinesMax	      "8"
    }
    Block {
      BlockType		      Reference
      Name		      "Multipath Rayleigh\nFading Channel"
      Ports		      [1, 1]
      Position		      [450, 150, 525, 210]
      SourceBlock	      "commchan3/Multipath Rayleigh\nFading Channel"
      SourceType	      "Multipath fading channel"
      ShowPortLabels	      on
      maxDopplerShift	      "0.001"
      pathDelays	      "[0 2e-10]"
      avgPathGaindB	      "[0 -0.01]"
      normalizePathGains      off
      seed		      "73"
      enableProbe	      "0"
      openVisAtStart	      off
      outPathGains	      off
      outDelay		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Random Integer\nGenerator"
      Ports		      [0, 1]
      Position		      [20, 158, 100, 202]
      SourceBlock	      "commrandsrc2/Random Integer\nGenerator"
      SourceType	      "Random Integer Generator"
      ShowPortLabels	      on
      mul		      "2"
      seed		      "67"
      Ts		      "0.001"
      frameBased	      on
      sampPerFrame	      "1"
      orient		      off
      outDataType	      "double"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [140, 354, 170, 386]
      Floating		      off
      Location		      [-3, 48, 1021, 733]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Unipolar to\nBipolar\nConverter"
      Ports		      [1, 1]
      Position		      [140, 158, 220, 202]
      SourceBlock	      "commutil2/Unipolar to\nBipolar\nConverter"
      SourceType	      "Unipolar to Bipolar Converter"
      ShowPortLabels	      on
      M			      "2"
      polarity		      "Positive"
    }
    Line {
      SrcBlock		      "Random Integer\nGenerator"
      SrcPort		      1
      Points		      [0, 0; 15, 0]
      Branch {
	DstBlock		"Unipolar to\nBipolar\nConverter"
	DstPort			1
      }
      Branch {
	Points			[-10, 0; 0, 120]
	Branch {
	  Points		  [645, 0; 0, -135]
	  DstBlock		  "Error Rate\nCalculation1"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 70]
	  DstBlock		  "Scope"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Error Rate\nCalculation1"
      SrcPort		      1
      Points		      [25, 0; 0, 80; -170, 0; 0, 105]
      DstBlock		      "Display1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Bipolar to\nUnipolar\nConverter"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	Points			[75, 0]
	DstBlock		"Error Rate\nCalculation1"
	DstPort			2
      }
      Branch {
	Points			[0, 305]
	DstBlock		"GMSK jietiao Eye Diagram"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Unipolar to\nBipolar\nConverter"
      SrcPort		      1
      DstBlock		      "GMSK\nModulator\nBaseband"
      DstPort		      1
    }
    Line {
      SrcBlock		      "GMSK\nDemodulator\nBaseband"
      SrcPort		      1
      DstBlock		      "Bipolar to\nUnipolar\nConverter"
      DstPort		      1
    }
    Line {
      SrcBlock		      "AWGN\nChannel1"
      SrcPort		      1
      DstBlock		      "Multipath Rayleigh\nFading Channel"
      DstPort		      1
    }
    Line {
      SrcBlock		      "GMSK\nModulator\nBaseband"
      SrcPort		      1
      DstBlock		      "AWGN\nChannel1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Multipath Rayleigh\nFading Channel"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	DstBlock		"GMSK\nDemodulator\nBaseband"
	DstPort			1
      }
      Branch {
	Points			[0, 150; -185, 0; 0, 65]
	Branch {
	  Points		  [0, 85]
	  DstBlock		  "GMSK Discrete-Time"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "GMSK tiaozhi Eye Diagram"
	  DstPort		  1
	}
      }
    }
  }
}

⌨️ 快捷键说明

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