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

📄 cdma2k.mdl

📁 CDMA20001X的仿真平台,各链路性能研究,建模方法
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	Location		[-143, 227, 869, 866]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 178, 55, 192]
	}
	Block {
	  BlockType		  ComplexToRealImag
	  Name			  "Complex to\nReal-Imag"
	  Ports			  [1, 2]
	  Position		  [95, 149, 145, 216]
	  Output		  "Real and imag"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Matrix\nConcatenation"
	  Ports			  [2, 1]
	  Position		  [190, 149, 245, 216]
	  SourceBlock		  "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
	  SourceType		  "Matrix Concatenation"
	  numInports		  "2"
	  catMethod		  "Vertical"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Power Control"
	  Ports			  [0, 1]
	  Position		  [180, 48, 230, 92]
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp('1')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Power Control"
	    Location		    [39, 319, 506, 473]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [25, 30, 55, 60]
	    }
	    Block {
	      BlockType		      ZeroOrderHold
	      Name		      "Zero-Order\nHold"
	      Position		      [95, 26, 130, 64]
	      SampleTime	      "20e-3/16"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [255, 38, 285, 52]
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      DstBlock		      "Zero-Order\nHold"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Zero-Order\nHold"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem"
	  Ports			  [2, 1]
	  Position		  [290, 140, 385, 200]
	  TreatAsAtomicUnit	  off
	  MaskType		  "DeSpread"
	  MaskDescription	  "sadjkfdajokfj"
	  MaskDisplay		  "disp('DeSpreading')\nport_label('input',1,'"
"Gain')\nport_label('input',2,'Input')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Subsystem"
	    Location		    [-2, 187, 931, 630]
	    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		      [495, 43, 525, 57]
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Input"
	      Position		      [25, 98, 55, 112]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Buffer"
	      Ports		      [1, 1]
	      Position		      [500, 105, 550, 155]
	      SourceBlock	      "dspbuff3/Buffer"
	      SourceType	      "Buffer"
	      N			      "24576"
	      V			      "0"
	      ic		      "0"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Downsample"
	      Ports		      [1, 1]
	      Position		      [610, 113, 645, 147]
	      SourceBlock	      "dspsigops/Downsample"
	      SourceType	      "Downsample"
	      N			      "16"
	      phase		      "0"
	      ic		      "0"
	      smode		      "Allow multirate"
	      fmode		      "Maintain input frame rate"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Frame Status\nConversion"
	      Ports		      [1, 1]
	      Position		      [420, 112, 470, 148]
	      SourceBlock	      "dspsigattribs/Frame Status\nConversion"
	      SourceType	      "Frame Status Conversion"
	      growRefPort	      off
	      outframe		      "Frame-based"
	    }
	    Block {
	      BlockType		      Goto
	      Name		      "Goto1"
	      Position		      [870, 130, 910, 160]
	      GotoTag		      "B"
	      TagVisibility	      "global"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Hadamard\nCode Generator"
	      Ports		      [0, 1]
	      Position		      [145, 178, 250, 232]
	      SourceBlock	      "commseqgen2/Hadamard\nCode Generator"
	      SourceType	      "Hadamard Code Generator"
	      length		      "16"
	      index		      "4"
	      ts		      "1/1228800"
	      frameBased	      off
	      sampPerFrame	      "1"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Power Control"
	      Ports		      [2, 1]
	      Position		      [740, 26, 790, 164]
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Spread"
	      Ports		      [2, 1]
	      Position		      [340, 80, 395, 175]
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Unbuffer"
	      Ports		      [1, 1]
	      Position		      [95, 81, 145, 129]
	      SourceBlock	      "dspbuff3/Unbuffer"
	      SourceType	      "Unbuffer"
	      ic		      "0"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Unipolar to\nBipolar\nConverter"
	      Ports		      [1, 1]
	      Position		      [200, 81, 280, 129]
	      SourceBlock	      "commutil2/Unipolar to\nBipolar\nConvert"
"er"
	      SourceType	      "Unipolar to Bipolar Converter"
	      M			      "2"
	      polarity		      "Negative"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Output"
	      Position		      [840, 88, 870, 102]
	    }
	    Line {
	      SrcBlock		      "Input"
	      SrcPort		      1
	      DstBlock		      "Unbuffer"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Unbuffer"
	      SrcPort		      1
	      DstBlock		      "Unipolar to\nBipolar\nConverter"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Unipolar to\nBipolar\nConverter"
	      SrcPort		      1
	      DstBlock		      "Spread"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Hadamard\nCode Generator"
	      SrcPort		      1
	      Points		      [35, 0; 0, -55]
	      DstBlock		      "Spread"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Power Control"
	      SrcPort		      1
	      Points		      [10, 0]
	      Branch {
		DstBlock		"Output"
		DstPort			1
	      }
	      Branch {
		Points			[0, 50]
		DstBlock		"Goto1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Spread"
	      SrcPort		      1
	      DstBlock		      "Frame Status\nConversion"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Frame Status\nConversion"
	      SrcPort		      1
	      DstBlock		      "Buffer"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Relative Gain"
	      SrcPort		      1
	      Points		      [15, 0; 0, 10]
	      DstBlock		      "Power Control"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Buffer"
	      SrcPort		      1
	      DstBlock		      "Downsample"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Downsample"
	      SrcPort		      1
	      DstBlock		      "Power Control"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out2"
	  Position		  [430, 158, 465, 182]
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Complex to\nReal-Imag"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag"
	  SrcPort		  1
	  DstBlock		  "Matrix\nConcatenation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag"
	  SrcPort		  2
	  DstBlock		  "Matrix\nConcatenation"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Matrix\nConcatenation"
	  SrcPort		  1
	  DstBlock		  "Subsystem"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Power Control"
	  SrcPort		  1
	  Points		  [20, 0; 0, 85]
	  DstBlock		  "Subsystem"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Subsystem"
	  SrcPort		  1
	  DstBlock		  "Out2"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Discrete-Time\nScatter Plot\nScope1"
      Tag		      "ScatterPlot"
      Ports		      [1]
      Position		      [545, 80, 595, 130]
      Orientation	      "down"
      NamePlacement	      "alternate"
      SourceBlock	      "commsink2/Discrete-Time\nScatter Plot\nScope"
      SourceType	      "Discrete-Time Scatter Plot Scope"
      showPlotting	      on
      sampPerSymb	      "1"
      offsetEye		      "0"
      numTraces		      "70"
      numNewFrames	      "20"
      showRendering	      off
      LineMarkers	      "."
      LineColors	      "b"
      fading		      on
      render		      on
      AxisGrid		      on
      showAxes		      off
      xMin		      "-2.7"
      xMax		      "2.7"
      yMin		      "-2.7"
      yMax		      "2.7"
      inphaseLabel	      "In-phase Amplitude"
      quadratureLabel	      "Quadrature Amplitude"
      showFigure	      on
      openScopeAtSimStart     off
      FrameNumber	      off
      FigPos		      "[266 105 225 225]"
      figTitle		      "Scatter Plot"
      numLinesMax	      "8"
      block_type_	      "scatter"
    }
    Block {
      BlockType		      Reference
      Name		      "Discrete-Time\nScatter Plot\nScope2"
      Tag		      "ScatterPlot"
      Ports		      [1]
      Position		      [465, 570, 515, 620]
      Orientation	      "left"
      SourceBlock	      "commsink2/Discrete-Time\nScatter Plot\nScope"
      SourceType	      "Discrete-Time Scatter Plot Scope"
      showPlotting	      on
      sampPerSymb	      "1"
      offsetEye		      "0"
      numTraces		      "70"
      numNewFrames	      "20"
      showRendering	      off
      LineMarkers	      "."
      LineColors	      "b"
      fading		      on
      render		      on
      AxisGrid		      on
      showAxes		      off
      xMin		      "-2.7"
      xMax		      "2.7"
      yMin		      "-2.7"
      yMax		      "2.7"
      inphaseLabel	      "In-phase Amplitude"
      quadratureLabel	      "Quadrature Amplitude"
      showFigure	      on
      openScopeAtSimStart     off
      FrameNumber	      off
      FigPos		      "[266 105 225 225]"
      figTitle		      "Scatter Plot"
      numLinesMax	      "8"
      block_type_	      "scatter"
    }
    Block {
      BlockType		      Display
      Name		      "Display"
      Ports		      [1]
      Position		      [15, 505, 105, 535]
      Orientation	      "left"
      NamePlacement	      "alternate"
      Decimation	      "1"
    }
    Block {
      BlockType		      Display
      Name		      "Display1"
      Ports		      [1]
      Position		      [300, 366, 405, 424]
      Decimation	      "1"
    }
    Block {
      BlockType		      Display
      Name		      "Display2"
      Ports		      [1]
      Position		      [630, 286, 735, 344]
      Decimation	      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Error Rate\nCalculation"
      Ports		      [2, 1]
      Position		      [195, 367, 270, 418]
      SourceBlock	      "commsink2/Error Rate\nCalculation"
      SourceType	      "Error Rate Calculation"
      N			      "172"
      st_delay		      "0"
      cp_mode		      "Entire frame"
      subframe		      "[]"
      PMode		      "Port"
      WsName		      "ErrorVec"
      RsMode2		      off
      stop		      off
      numErr		      "100"
      maxBits		      "1e6"

⌨️ 快捷键说明

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