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

📄 msmodulation2.mdl

📁 利用matlab/simulink仿真了CDMA2
💻 MDL
📖 第 1 页 / 共 4 页
字号:
		  DstBlock		  "Insert Zero"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "PN Sequence\nGenerator"
	      Ports		      [0, 1]
	      Position		      [40, 128, 120, 172]
	      SourceBlock	      "commseqgen2/PN Sequence\nGenerator"
	      SourceType	      "PN Sequence Generator"
	      poly		      "xLongCodeGenerator"
	      ini_sta		      "[zeros(1,41) 1]"
	      shift		      "xLongCodeMask"
	      Ts		      "xSampleTime"
	      frameBased	      off
	      sampPerFrame	      "1"
	      reset		      off
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [515, 214, 550, 296]
	      InputSameDT	      off
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product1"
	      Ports		      [2, 1]
	      Position		      [755, 173, 790, 262]
	      InputSameDT	      off
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product2"
	      Ports		      [2, 1]
	      Position		      [460, 28, 500, 92]
	      InputSameDT	      off
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "S-Function"
	      Ports		      [1, 1]
	      Position		      [600, 233, 705, 287]
	      FunctionName	      "MS_SFUN_QConvert"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Subsystem1"
	      Ports		      [0, 1]
	      Position		      [25, 219, 130, 301]
	      SourceBlock	      "ShortPNSequence/Subsystem"
	      SourceType	      ""
	      ShowPortLabels	      on
	      xGenerator	      "xPNGeneratorQ"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Unipolar to\nBipolar\nConverter"
	      Ports		      [1, 1]
	      Position		      [235, 26, 315, 74]
	      SourceBlock	      "commutil2/Unipolar to\nBipolar\nConvert"
"er"
	      SourceType	      "Unipolar to Bipolar Converter"
	      ShowPortLabels	      on
	      M			      "2"
	      polarity		      "Negative"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Unipolar to\nBipolar\nConverter1"
	      Ports		      [1, 1]
	      Position		      [235, 236, 315, 284]
	      SourceBlock	      "commutil2/Unipolar to\nBipolar\nConvert"
"er"
	      SourceType	      "Unipolar to Bipolar Converter"
	      ShowPortLabels	      on
	      M			      "2"
	      polarity		      "Negative"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Unipolar to\nBipolar\nConverter2"
	      Ports		      [1, 1]
	      Position		      [235, 126, 315, 174]
	      SourceBlock	      "commutil2/Unipolar to\nBipolar\nConvert"
"er"
	      SourceType	      "Unipolar to Bipolar Converter"
	      ShowPortLabels	      on
	      M			      "2"
	      polarity		      "Negative"
	    }
	    Block {
	      BlockType		      UnitDelay
	      Name		      "Unit Delay"
	      Position		      [400, 155, 435, 195]
	      SampleTime	      "xSampleTime"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [825, 58, 855, 72]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out2"
	      Position		      [830, 213, 860, 227]
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      "Product1"
	      SrcPort		      1
	      DstBlock		      "Out2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product2"
	      SrcPort		      1
	      Points		      [150, 0; 0, 5; 40, 0]
	      Branch {
		Points			[0, 130]
		DstBlock		"Product1"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Out1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "S-Function"
	      SrcPort		      1
	      Points		      [15, 0; 0, -20]
	      DstBlock		      "Product1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      Points		      [20, 0; 0, 5]
	      DstBlock		      "S-Function"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Unipolar to\nBipolar\nConverter1"
	      SrcPort		      1
	      Points		      [90, 0; 0, 15]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Unit Delay"
	      SrcPort		      1
	      Points		      [30, 0; 0, 60]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Unipolar to\nBipolar\nConverter2"
	      SrcPort		      1
	      Points		      [0, 0; 60, 0]
	      Branch {
		Points			[0, 25]
		DstBlock		"Unit Delay"
		DstPort			1
	      }
	      Branch {
		Points			[0, -75]
		DstBlock		"Product2"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Unipolar to\nBipolar\nConverter"
	      SrcPort		      1
	      Points		      [60, 0; 0, -5]
	      DstBlock		      "Product2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Subsystem1"
	      SrcPort		      1
	      DstBlock		      "Unipolar to\nBipolar\nConverter1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "PN Sequence\nGenerator"
	      SrcPort		      1
	      DstBlock		      "Unipolar to\nBipolar\nConverter2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "I branch PN"
	      SrcPort		      1
	      Points		      [35, 0; 0, -15]
	      DstBlock		      "Unipolar to\nBipolar\nConverter"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [3, 1]
	  Position		  [140, 122, 170, 218]
	  ShowName		  off
	  Inputs		  "+++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [140, 258, 170, 322]
	  ShowName		  off
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [440, 104, 470, 151]
	  ShowName		  off
	  Inputs		  "+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum3"
	  Ports			  [2, 1]
	  Position		  [435, 259, 465, 306]
	  ShowName		  off
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [895, 258, 925, 272]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [35, 0]
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In6"
	  SrcPort		  1
	  Points		  [20, 0; 0, -50]
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Real-Imag to\nComplex"
	  SrcPort		  1
	  Points		  [15, 0; 0, 35]
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "FIR\nInterpolation1"
	  SrcPort		  1
	  Points		  [40, 0; 0, -55]
	  DstBlock		  "Real-Imag to\nComplex"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "FIR\nInterpolation"
	  SrcPort		  1
	  Points		  [40, 0; 0, 65]
	  DstBlock		  "Real-Imag to\nComplex"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum3"
	  SrcPort		  1
	  DstBlock		  "FIR\nInterpolation1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  DstBlock		  "FIR\nInterpolation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product4"
	  SrcPort		  1
	  Points		  [30, 0; 0, -15]
	  DstBlock		  "Sum3"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product2"
	  SrcPort		  1
	  Points		  [70, 0]
	  DstBlock		  "Sum3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product3"
	  SrcPort		  1
	  Points		  [35, 0; 0, -95]
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  Points		  [35, 0; 0, 45]
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  Points		  [0, 10; 80, 0]
	  Branch {
	    DstBlock		    "Product4"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -60]
	    DstBlock		    "Product3"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  Points		  [45, 0; 0, -25; 50, 0]
	  Branch {
	    Points		    [0, -70]
	    DstBlock		    "Product1"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Product2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Subsystem"
	  SrcPort		  2
	  Points		  [125, 0; 0, 65]
	  Branch {
	    Points		    [0, 65]
	    DstBlock		    "Product3"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Product2"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Subsystem"
	  SrcPort		  1
	  Points		  [100, 0; 0, 20]
	  Branch {
	    DstBlock		    "Product1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 255]
	    DstBlock		    "Product4"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "SCH1/CCCH/EACH"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "FCH"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "DCCH"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "PCH"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "SCH2"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Constant
      Name		      "Relative Gain"
      Position		      [40, 175, 70, 205]
      BackgroundColor	      "[0.000000, 0.501961, 1.000000]"
      DropShadow	      on
    }
    Block {
      BlockType		      Reference
      Name		      "Spectrum\nScope"
      Ports		      [1]
      Position		      [630, 240, 665, 290]
      BackgroundColor	      "[0.000000, 0.501961, 1.000000]"
      DropShadow	      on
      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		      "[-Fs/2...Fs/2]"
      InheritXIncr	      on
      XIncr		      "1.0"
      XLabel		      "Samples"
      YUnits		      "dB"
      YMin		      "-65"
      YMax		      "15"
      YLabel		      "Magnitude, dB"
      LineProperties	      off
    }
    Block {
      BlockType		      Constant
      Name		      "data"
      Position		      [225, 60, 255, 90]
      BackgroundColor	      "[0.000000, 0.501961, 1.000000]"
      DropShadow	      on
      Value		      "0"
    }
    Line {
      SrcBlock		      "Gain"
      SrcPort		      1
      DstBlock		      "Modulation"
      DstPort		      6
    }
    Line {
      SrcBlock		      "FCH Frame Data"
      SrcPort		      1
      Points		      [55, 0; 0, -5]
      DstBlock		      "Modulation"
      DstPort		      4
    }
    Line {
      SrcBlock		      "data"
      SrcPort		      1
      Points		      [40, 0; 0, 5]
      Branch {
	DstBlock		"Modulation"
	DstPort			1
      }
      Branch {
	Points			[0, 35]
	Branch {
	  DstBlock		  "Modulation"
	  DstPort		  2
	}
	Branch {
	  Points		  [0, 35]
	  Branch {
	    DstBlock		    "Modulation"
	    DstPort		    3
	  }
	  Branch {
	    Points		    [0, 70]
	    DstBlock		    "Modulation"
	    DstPort		    5
	  }
	}
      }
    }
    Line {
      SrcBlock		      "Modulation"
      SrcPort		      1
      Points		      [30, 0; 0, 95]
      DstBlock		      "Spectrum\nScope"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Relative Gain"
      SrcPort		      1
      DstBlock		      "FCH Frame Data"
      DstPort		      1
    }
  }
}
MatData {
  NumRecords		  2
  DataRecord {
    Tag			    DataTag1
    Data		    "  %)30     .    <     8    (     0         %    "
"\"     $    !     0         .    0     8    (    !          %    \"     $    "
",     0         0    #    $9)4D1E8TEN=&5R<      "
  }
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    <     8    (     0         %    "
"\"     $    !     0         .    0     8    (    !          %    \"     $    "
",     0         0    #    $9)4D1E8TEN=&5R<      "
  }
}

⌨️ 快捷键说明

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