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

📄 msmodulation.mdl

📁 cdma2000的系统建模及实现 包括信源编码
💻 MDL
📖 第 1 页 / 共 4 页
字号:
      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		      RealImagToComplex
      Input		      "Real and imag"
      ConstantPart	      "0"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Reference
    }
    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		      ToWorkspace
      VariableName	      "simulink_output"
      MaxDataPoints	      "1000"
      Decimation	      "1"
      SampleTime	      "0"
      FixptAsFi		      off
    }
    Block {
      BlockType		      TriggerPort
      TriggerType	      "rising"
      StatesWhenEnabling      "inherit"
      ShowOutputPort	      off
      OutputDataType	      "auto"
      SampleTimeType	      "triggered"
      SampleTime	      "1"
      ZeroCross		      on
    }
    Block {
      BlockType		      UnitDelay
      X0		      "0"
      SampleTime	      "1"
      StateMustResolveToSignalObject off
      RTWStateStorageClass    "Auto"
    }
  }
  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		    "msmodulation"
    Location		    [-36, 168, 961, 752]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      SubSystem
      Name		      "CR"
      Ports		      [1, 1]
      Position		      [660, 141, 755, 239]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      MaskType		      "CR detector"
      MaskDescription	      "CR detector"
      MaskHelp		      "CR detector"
      MaskInitialization      "CR_Detec_Initialization"
      MaskDisplay	      "disp('CR detector')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"CR"
	Location		[46, 333, 645, 631]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "signal in"
	  Position		  [30, 88, 60, 102]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Reference
	  Name			  "AWGN\nChannel"
	  Ports			  [1, 1]
	  Position		  [285, 74, 365, 116]
	  SourceBlock		  "commchan3/AWGN\nChannel"
	  SourceType		  "AWGN Channel"
	  ShowPortLabels	  on
	  seed			  "67"
	  noiseMode		  "Signal to noise ratio  (SNR)"
	  EbNodB		  "10"
	  EsNodB		  "10"
	  SNRdB			  "-50"
	  bitsPerSym		  "1"
	  Ps			  "0.01"
	  Tsym			  "1"
	  variance		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "FIR\nInterpolation"
	  Ports			  [1, 1]
	  Position		  [400, 69, 465, 121]
	  DialogController	  "dspDDGCreate"
	  DialogControllerArgs	  "DataTag0"
	  SourceBlock		  "dspmlti4/FIR\nInterpolation"
	  SourceType		  "FIR Interpolation"
	  h			  "xFIR1"
	  L			  "4"
	  framing		  "Maintain input frame size"
	  outputBufInitCond	  "0"
	  additionalParams	  off
	  allowOverrides	  on
	  firstCoeffMode	  "Same word length as input"
	  firstCoeffWordLength	  "16"
	  firstCoeffFracLength	  "15"
	  outputMode		  "Same as accumulator"
	  outputWordLength	  "16"
	  outputFracLength	  "15"
	  accumMode		  "Inherit via internal rule"
	  accumWordLength	  "32"
	  accumFracLength	  "30"
	  prodOutputMode	  "Inherit via internal rule"
	  prodOutputWordLength	  "32"
	  prodOutputFracLength	  "30"
	  roundingMode		  "Floor"
	  overflowMode		  off
	  LockScale		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel"
	  Ports			  [1, 1]
	  Position		  [125, 183, 205, 227]
	  SourceBlock		  "commchan2/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  ShowPortLabels	  on
	  Fd			  "80"
	  simTs			  "1e-6"
	  delayVec		  "[0 2e-6]"
	  gainVecdB		  "[0 -3]"
	  normGain		  on
	  Seed			  "73"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Rician Fading\nChannel"
	  Ports			  [1, 1]
	  Position		  [135, 73, 215, 117]
	  SourceBlock		  "commchan3/Rician Fading\nChannel"
	  SourceType		  "Rician Fading Channel"
	  ShowPortLabels	  on
	  K			  "1"
	  Fd			  "80"
	  simTs			  "1e-6"
	  delayVec		  "0"
	  gainVecdB		  "0"
	  Seed			  "79"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Spectrum\nScope"
	  Ports			  [1]
	  Position		  [520, 175, 555, 225]
	  DialogController	  "dspdialog.SpectrumScope"
	  DialogControllerArgs	  "DataTag1"
	  SourceBlock		  "dspsnks4/Spectrum\nScope"
	  SourceType		  "Spectrum Scope"
	  ShowPortLabels	  off
	  ScopeProperties	  off
	  Domain		  "Frequency"
	  HorizSpan		  "1"
	  UseBuffer		  on
	  BufferSize		  "128"
	  Overlap		  "64"
	  inpFftLenInherit	  on
	  FFTlength		  "128"
	  numAvg		  "2"
	  DisplayProperties	  off
	  AxisGrid		  on
	  Memory		  off
	  FrameNumber		  on
	  AxisLegend		  off
	  AxisZoom		  on
	  OpenScopeAtSimStart	  on
	  OpenScopeImmediately	  off
	  FigPos		  "get(0,'defaultfigureposition')"
	  AxisProperties	  on
	  XUnits		  "Hertz"
	  XRange		  "[-Fs/2...Fs/2]"
	  InheritXIncr		  off
	  XIncr			  "1.0"
	  XLabel		  "Samples"
	  YUnits		  "dB"
	  YMin			  "-65"
	  YMax			  "50"
	  YLabel		  "Magnitude, dB"
	  LineProperties	  off
	  wintypeSpecScope	  "Hann"
	  RsSpecScope		  "50"
	  betaSpecScope		  "5"
	  winsampSpecScope	  "Periodic"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [240, 63, 265, 127]
	  ShowName		  off
	  Inputs		  "|++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Result Out"
	  Position		  [525, 88, 555, 102]
	  IconDisplay		  "Port number"
	}
	Line {
	  SrcBlock		  "FIR\nInterpolation"
	  SrcPort		  1
	  Points		  [25, 0]
	  Branch {
	    DstBlock		    "Result Out"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 105]
	    DstBlock		    "Spectrum\nScope"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "signal in"
	  SrcPort		  1
	  Points		  [25, 0]
	  Branch {
	    DstBlock		    "Rician Fading\nChannel"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 110]
	    DstBlock		    "Multipath Rayleigh\nFading Channel"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Rician Fading\nChannel"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "AWGN\nChannel"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Multipath Rayleigh\nFading Channel"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "AWGN\nChannel"
	  SrcPort		  1
	  DstBlock		  "FIR\nInterpolation"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      ComplexToRealImag
      Name		      "Complex to\nReal-Imag"
      Ports		      [1, 2]
      Position		      [860, 173, 890, 202]
      Output		      "Real and imag"
    }
    Block {
      BlockType		      SubSystem
      Name		      "FCH Frame Data"
      Ports		      [1, 1]
      Position		      [170, 171, 305, 239]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"FCH Frame Data"
	Location		[183, 240, 974, 516]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Relative Gain"
	  Position		  [440, 118, 470, 132]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Encoder"
	  Ports			  [1, 1]
	  Position		  [355, 31, 470, 99]
	  AncestorBlock		  "cdma2000/Encoder"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskHideContents	  off
	  MaskType		  "Convolutional Encoder(cdma2000 MS)"
	  MaskDescription	  "Convolutional Encoder\\n\\n(cdma2000 MS)"
	  MaskHelp		  "Convolutional Encoder\\n\\n(cdma2000 MS)"
	  MaskPromptString	  "Radio Configuration|Bit Rate|Raw Bits Per F"
"rame|Frame Duration"
	  MaskStyleString	  "edit,edit,edit,edit"
	  MaskTunableValueString  "on,on,on,on"
	  MaskCallbackString	  "|||"
	  MaskEnableString	  "on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on"
	  MaskToolTipString	  "on,on,on,on"
	  MaskVarAliasString	  ",,,"
	  MaskVariables		  "xRC=@1;xBitRate=@2;xFrameLength=@3;xFrameDu"
"ration=@4;"
	  MaskInitialization	  "MS_Encoder_Initialization"
	  MaskDisplay		  "disp('Convolutional Encoder\\n\\n(cdma2000 "
"MS)')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "3|mBitRate|mFrameLength|mFrameDuration"
	  MaskTabNameString	  ",,,"
	  System {
	    Name		    "Encoder"
	    Location		    [726, 321, 1203, 535]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Input"
	      Position		      [25, 48, 55, 62]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Convolutional\nEncoder"
	      Ports		      [1, 1]
	      Position		      [190, 27, 280, 83]
	      SourceBlock	      "commcnvcod2/Convolutional\nEncoder"
	      SourceType	      "Convolutional Encoder"
	      trellis		      "xTrellisStructure"
	      reset		      "None"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Zero Pad"
	      Ports		      [1, 1]
	      Position		      [85, 37, 130, 73]
	      SourceBlock	      "dspsigops/Zero Pad"
	      SourceType	      "Zero Pad"
	      padSigAt		      "End"
	      zpadAlong		      "Columns"
	      padNumOutRowsSpecMethod "User-specified"
	      numOutRows	      "xPaddedFrameLength"
	      padNumOutColsSpecMethod "User-specified"
	      numOutCols	      "1"
	      trunc_flag	      "None"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Output"
	      Position		      [340, 48, 370, 62]
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      "Convolutional\nEncoder"
	      SrcPort		      1
	      Points		      [0, 0]
	      DstBlock		      "Output"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Zero Pad"
	      SrcPort		      1
	      DstBlock		      "Convolutional\nEncoder"
	      DstPort		      1
	    }
	    Line {

⌨️ 快捷键说明

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