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

📄 mc_cdma_rayleigh_kuirs.mdl

📁 mc-cdma qpsk FEC 的SIMULINK 仿真 大家参考提出意见
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  Position		  [320, 200, 355, 240]
	  FontSize		  10
	  SourceBlock		  "dspmtrx3/Transpose"
	  SourceType		  "Transpose"
	  Hermitian		  off
	  overflowFlag		  on
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [1095, 113, 1125, 127]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Transpose1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "r_sig"
	  SrcPort		  1
	  Points		  [705, 0; 0, 20]
	  DstBlock		  "Product1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "r_pn "
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transpose1"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Points		    [0, 80]
	    DstBlock		    "Math\nFunction"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [55, 0]
	    DstBlock		    "Mean"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Math\nFunction"
	  SrcPort		  1
	  DstBlock		  "Mean1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product2"
	  SrcPort		  1
	  DstBlock		  "Frame Status\nConversion"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Frame Status\nConversion"
	  SrcPort		  1
	  Points		  [25, 0]
	  DstBlock		  "Repeat"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mean"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mean1"
	  SrcPort		  1
	  Points		  [25, 0; 0, -40]
	  DstBlock		  "Product2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Repeat"
	  SrcPort		  1
	  Points		  [0, -20]
	  DstBlock		  "Product1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Math\nFunction1"
	  SrcPort		  1
	  DstBlock		  "Product2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "t_pn"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    DstBlock		    "Matrix\nConcatenation"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [40, 0; 0, 20]
	    DstBlock		    "Matrix\nConcatenation"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Matrix\nConcatenation"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  Points		  [110, 0; 0, -10]
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "deCode & deInterleave"
      Ports		      [1, 1]
      Position		      [150, 305, 255, 365]
      Orientation	      "left"
      BackgroundColor	      "yellow"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      MaskDisplay	      "disp('deCode \\n deInterleave')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"deCode & deInterleave"
	Location		[227, 555, 897, 895]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [525, 48, 555, 62]
	  Orientation		  "left"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Matrix\nDeinterleaver"
	  Ports			  [1, 1]
	  Position		  [385, 28, 465, 82]
	  Orientation		  "left"
	  FontSize		  10
	  SourceBlock		  "commblkintrlv2/Matrix\nDeinterleaver"
	  SourceType		  "Matrix Deinterleaver"
	  ShowPortLabels	  on
	  Nrows			  "4"
	  Ncols			  "4"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Viterbi Decoder"
	  Ports			  [1, 1]
	  Position		  [265, 27, 355, 83]
	  Orientation		  "left"
	  FontSize		  10
	  SourceBlock		  "commcnvcod2/Viterbi Decoder"
	  SourceType		  "Viterbi Decoder"
	  trellis		  "poly2trellis(7, [171 133])"
	  dectype		  "Hard Decision"
	  nsdecb		  "4"
	  tbdepth		  "8"
	  opmode		  "Continuous"
	  reset			  off
	  outDataType		  "double"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [190, 48, 220, 62]
	  Orientation		  "left"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Matrix\nDeinterleaver"
	  SrcPort		  1
	  DstBlock		  "Viterbi Decoder"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Matrix\nDeinterleaver"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Viterbi Decoder"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "train sequence"
      Ports		      [0, 1]
      Position		      [280, 566, 390, 614]
      ForegroundColor	      "magenta"
      BackgroundColor	      "lightBlue"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      MaskDisplay	      "disp('train sequence\\nPN\\nbipolar')\n"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"train sequence"
	Location		[215, 393, 630, 639]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "PN Sequence\nGenerator"
	  Ports			  [0, 1]
	  Position		  [15, 108, 95, 152]
	  FontSize		  10
	  SourceBlock		  "commseqgen2/PN Sequence\nGenerator"
	  SourceType		  "PN Sequence Generator"
	  poly			  "[1 0 0 0 0 1 1]"
	  ini_sta		  "[0 0 0 0 0 1]"
	  shift			  "0"
	  Ts			  "sampletime/128"
	  frameBased		  on
	  sampPerFrame		  "128"
	  reset			  off
	  outDataType		  "double"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Unipolar to\nBipolar\nConverter1"
	  Ports			  [1, 1]
	  Position		  [160, 106, 240, 154]
	  FontSize		  10
	  SourceBlock		  "commutil2/Unipolar to\nBipolar\nConverter"
	  SourceType		  "Unipolar to Bipolar Converter"
	  ShowPortLabels	  on
	  M			  "2"
	  polarity		  "Negative"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [335, 123, 365, 137]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "PN Sequence\nGenerator"
	  SrcPort		  1
	  DstBlock		  "Unipolar to\nBipolar\nConverter1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Unipolar to\nBipolar\nConverter1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Reshape"
      SrcPort		      1
      DstBlock		      "Multipath Rayleigh\nFading Channel"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Reshape1"
      SrcPort		      1
      Points		      [0, 10]
      DstBlock		      "Del CP & DeOFDM"
      DstPort		      1
    }
    Line {
      SrcBlock		      "OFDM & Add CP"
      SrcPort		      1
      Points		      [200, 0]
      DstBlock		      "Reshape"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Cal ERROR"
      SrcPort		      1
      DstBlock		      "Display5"
      DstPort		      1
    }
    Line {
      SrcBlock		      "DeSpread & DemodQPSK"
      SrcPort		      1
      Points		      [0, 0; -15, 0]
      Branch {
	Points			[0, -85]
	DstBlock		"Cal ERROR1"
	DstPort			2
      }
      Branch {
	DstBlock		"deCode & deInterleave"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Bernoulli Binary\nGenerator"
      SrcPort		      1
      Points		      [0, 0; 25, 0]
      Branch {
	Points			[0, 120]
	DstBlock		"Cal ERROR"
	DstPort			1
      }
      Branch {
	DstBlock		"Code & Interleave"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "deCode & deInterleave"
      SrcPort		      1
      Points		      [-20, 0; 0, -100]
      DstBlock		      "Cal ERROR"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Code & Interleave"
      SrcPort		      1
      Points		      [0, 0; 60, 0]
      Branch {
	DstBlock		"QPSK\nSpread"
	DstPort			1
      }
      Branch {
	Points			[0, 130]
	DstBlock		"Cal ERROR1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Cal ERROR1"
      SrcPort		      1
      DstBlock		      "Display1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "QPSK\nSpread"
      SrcPort		      1
      DstBlock		      "OFDM & Add CP"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Del CP & DeOFDM"
      SrcPort		      2
      DstBlock		      "Subsystem7"
      DstPort		      2
    }
    Line {
      SrcBlock		      "train sequence"
      SrcPort		      1
      DstBlock		      "Goto"
      DstPort		      1
    }
    Line {
      SrcBlock		      "From1"
      SrcPort		      1
      DstBlock		      "Subsystem7"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Subsystem7"
      SrcPort		      1
      Points		      [-40, 0; 0, -10]
      DstBlock		      "DeSpread & DemodQPSK"
      DstPort		      1
    }
    Line {
      SrcBlock		      "AWGN\nChannel"
      SrcPort		      1
      DstBlock		      "Reshape1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "From"
      SrcPort		      1
      DstBlock		      "OFDM & Add CP"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Hadamard\nCode Generator"
      SrcPort		      1
      DstBlock		      "Goto1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "From2"
      SrcPort		      1
      DstBlock		      "DeSpread & DemodQPSK"
      DstPort		      2
    }
    Line {
      SrcBlock		      "From3"
      SrcPort		      1
      Points		      [15, 0]
      DstBlock		      "QPSK\nSpread"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Del CP & DeOFDM"
      SrcPort		      1
      Points		      [0, -10]
      DstBlock		      "Subsystem7"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Multipath Rayleigh\nFading Channel"
      SrcPort		      1
      DstBlock		      "AWGN\nChannel"
      DstPort		      1
    }
  }
}
MatData {
  NumRecords		  4
  DataRecord {
    Tag			    DataTag3
    Data		    "  %)30     .    8     8    (     0         %    "
"\"     $    !     0         .    ,     8    (    !          %    \"     $    "
"$     0         0  0 365A;@"
  }
  DataRecord {
    Tag			    DataTag2
    Data		    "  %)30     .    8     8    (     0         %    "
"\"     $    !     0         .    ,     8    (    !          %    \"     $    "
"$     0         0  0 365A;@"
  }
  DataRecord {
    Tag			    DataTag1
    Data		    "  %)30     .    8     8    (     0         %    "
"\"     $    !     0         .    ,     8    (    !          %    \"     $    "
"$     0         0  0 249&5 "
  }
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    8     8    (     0         %    "
"\"     $    !     0         .    ,     8    (    !          %    \"     $    "
"#     0         0  , 1D94  "
  }
}

# Finite State Machines
#
#    Stateflow Version 6.2 (R14SP2) dated Aug  4 2005, 10:13:39
#
#

Stateflow {

	machine {
		id                   		1
		name                 		"mc_cdma_rayleigh_kuirs"
		created              		"04-Jun-2007 18:42:05"
		isLibrary            		0
		firstTarget          		2
		sfVersion            		62014000
	}

	target {
		id                        		2
		name                      		"sfun"
		description               		"Default Simulink S-Function Target."
		machine                   		1
		linkNode                  		[1 0 0]
	}
}

⌨️ 快捷键说明

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