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

📄 rayleighflatfading_psk.mdl

📁 通信系统仿真主要仿真各种调制方式
💻 MDL
📖 第 1 页 / 共 3 页
字号:
      allowOverrides	      on
      outputMode	      "Same as accumulator"
      outputWordLength	      "32"
      outputFracLength	      "30"
      accumMode		      "Same as input"
      accumWordLength	      "32"
      accumFracLength	      "30"
      roundingMode	      "Floor"
      overflowMode	      off
      LockScale		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Multipath Rayleigh\nFading Channel"
      Ports		      [1, 2]
      Position		      [295, 200, 390, 260]
      NamePlacement	      "alternate"
      SourceBlock	      "commchan3/Multipath Rayleigh\nFading Channel"
      SourceType	      "Multipath Rayleigh Fading Channel"
      ShowPortLabels	      "FromPortIcon"
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      maxDopplerShift	      "1000"
      pathDelays	      "0"
      avgPathGaindB	      "0"
      normalizePathGains      on
      seed		      "73"
      enableProbe	      "0"
      openVisAtStart	      off
      outPathGains	      on
      outDelay		      off
      Port {
	PortNumber		2
	Name			"Channel State Information (CSI)"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace"
      Position		      [605, 320, 665, 350]
      NamePlacement	      "alternate"
      VariableName	      "BER"
      MaxDataPoints	      "1"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace1"
      Position		      [605, 575, 665, 605]
      VariableName	      "SER"
      MaxDataPoints	      "1"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      SubSystem
      Name		      "zzzzz"
      Ports		      []
      Position		      [63, 339, 587, 440]
      BackgroundColor	      "lightBlue"
      DropShadow	      on
      ShowName		      off
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      MaskDisplay	      "disp('')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"zzzzz"
	Location		[433, 403, 931, 703]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "zzzzz1"
      Ports		      []
      Position		      [63, 483, 590, 595]
      BackgroundColor	      "[0.501961, 1.000000, 0.501961]"
      DropShadow	      on
      ShowName		      off
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      MaskDisplay	      "disp('')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"zzzzz1"
	Location		[433, 403, 931, 703]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "zzzzz2"
      Ports		      []
      Position		      [15, 138, 264, 282]
      BackgroundColor	      "[0.925490, 0.670588, 0.827451]"
      DropShadow	      on
      ShowName		      off
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      MaskDisplay	      "disp('')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"zzzzz2"
	Location		[433, 403, 931, 703]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "zzzzz3"
      Ports		      []
      Position		      [551, 159, 922, 295]
      BackgroundColor	      "[0.643137, 0.670588, 0.827451]"
      DropShadow	      on
      ShowName		      off
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      MaskDisplay	      "disp('')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"zzzzz3"
	Location		[433, 403, 931, 703]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Line {
      SrcBlock		      "Bernoulli Binary\nGenerator"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	Points			[0, 50]
	DstBlock		"Goto"
	DstPort			1
      }
      Branch {
	DstBlock		"M-PSK\nModulator\nBaseband"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "M-PSK\nModulator\nBaseband"
      SrcPort		      1
      Points		      [30, 0]
      DstBlock		      "Multipath Rayleigh\nFading Channel"
      DstPort		      1
    }
    Line {
      SrcBlock		      "M-PSK\nDemodulator\nBaseband"
      SrcPort		      1
      DstBlock		      "Data Type\nConversion3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Error Rate\nCalculation"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"Display"
	DstPort			1
      }
      Branch {
	Points			[0, -60]
	DstBlock		"To Workspace"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "From"
      SrcPort		      1
      DstBlock		      "Error Rate\nCalculation"
      DstPort		      1
    }
    Line {
      SrcBlock		      "From1"
      SrcPort		      1
      DstBlock		      "Error Rate\nCalculation"
      DstPort		      2
    }
    Line {
      SrcBlock		      "From2"
      SrcPort		      1
      DstBlock		      "Bit to Integer\nConverter1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "From3"
      SrcPort		      1
      DstBlock		      "Bit to Integer\nConverter"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Error Rate\nCalculation1"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"Display1"
	DstPort			1
      }
      Branch {
	Points			[0, 55]
	DstBlock		"To Workspace1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Bit to Integer\nConverter"
      SrcPort		      1
      Points		      [10, 0; 0, 10]
      DstBlock		      "Error Rate\nCalculation1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Bit to Integer\nConverter1"
      SrcPort		      1
      Points		      [10, 0; 0, -10]
      DstBlock		      "Error Rate\nCalculation1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Avg Power"
      SrcPort		      1
      DstBlock		      "Mean"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mean"
      SrcPort		      1
      DstBlock		      "Display2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Multipath Rayleigh\nFading Channel"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	DstBlock		"Avg Power"
	DstPort			1
      }
      Branch {
	DstBlock		"AWGN\nChannel"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Data Type\nConversion3"
      SrcPort		      1
      DstBlock		      "Goto1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "AWGN\nChannel"
      SrcPort		      1
      DstBlock		      "Divide"
      DstPort		      1
    }
    Line {
      Name		      "Channel State Information (CSI)"
      Labels		      [3, 1]
      SrcBlock		      "Multipath Rayleigh\nFading Channel"
      SrcPort		      2
      Points		      [35, 0; 0, 25; 195, 0]
      DstBlock		      "Divide"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Divide"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	DstBlock		"M-PSK\nDemodulator\nBaseband"
	DstPort			1
      }
      Branch {
	Points			[0, -125]
	DstBlock		"Double-click\nto Open1"
	DstPort			1
      }
    }
    Annotation {
      Name		      "Estimated\nAvg Power"
      Position		      [468, 48]
    }
    Annotation {
      Name		      "Compute Symbol Error Rate"
      Position		      [188, 463]
      BackgroundColor	      "[0.501961, 1.000000, 0.501961]"
      DropShadow	      on
      FontName		      "Arial"
      FontSize		      18
      FontWeight	      "bold"
    }
    Annotation {
      Name		      "Compute Bit Error Rate"
      Position		      [168, 318]
      BackgroundColor	      "lightBlue"
      DropShadow	      on
      FontName		      "Arial"
      FontSize		      18
      FontWeight	      "bold"
    }
    Annotation {
      Name		      "Receiver"
      Position		      [598, 138]
      BackgroundColor	      "[0.643137, 0.670588, 0.823529]"
      DropShadow	      on
      FontName		      "Arial"
      FontSize		      18
      FontWeight	      "bold"
    }
    Annotation {
      Name		      "Transmitter"
      Position		      [73, 118]
      BackgroundColor	      "[0.925490, 0.674510, 0.835294]"
      DropShadow	      on
      FontName		      "Arial"
      FontSize		      18
      FontWeight	      "bold"
    }
    Annotation {
      Name		      "M-PSK Transmission over Rayleigh\nFlat Fading Channel - No Diversity"
      Position		      [12, 29]
      HorizontalAlignment     "left"
      BackgroundColor	      "darkGreen"
      DropShadow	      on
      FontName		      "Arial"
      FontSize		      18
      FontWeight	      "bold"
    }
    Annotation {
      Name		      "Bit Error Rate"
      Position		      [600, 373]
      HorizontalAlignment     "left"
    }
    Annotation {
      Name		      "Num Bit Errors"
      Position		      [597, 395]
      HorizontalAlignment     "left"
    }
    Annotation {
      Name		      "Num Bits xmitted"
      Position		      [599, 415]
      HorizontalAlignment     "left"
    }
    Annotation {
      Name		      "Sym Error Rate"
      Position		      [601, 513]
      HorizontalAlignment     "left"
    }
    Annotation {
      Name		      "Num Sym Errors"
      Position		      [603, 535]
      HorizontalAlignment     "left"
    }
    Annotation {
      Name		      "Num Syms xmitted"
      Position		      [600, 555]
      HorizontalAlignment     "left"
    }
    Annotation {
      Name		      "Perfect Channel State Information (CSI) is assumed at the receiver."
      Position		      [13, 68]
      HorizontalAlignment     "left"
    }
  }
}
MatData {
  NumRecords		  5
  DataRecord {
    Tag			    DataTag4
    Data		    "  %)30     .    :     8    (     0         %    \"     $    !     0         .    .     8    (    !     "
    "     %    \"     $    $     0         $    \"    $T 90!A &X "
  }
  DataRecord {
    Tag			    DataTag3
    Data		    "  %)30     .    @     8    (     0         %    \"     $    !     0         .    4     8    (    !     "
    "     %    \"     $    -     0         $    &@   $T 4 !3 $L 30!O &0 =0!L &$ = !O '(         "
  }
  DataRecord {
    Tag			    DataTag2
    Data		    "  %)30     .    @     8    (     0         %    \"     $    !     0         .    4     8    (    !     "
    "     %    \"     $    /     0         $    '@   $T 4 !3 $L 1 !E &T ;P!D '4 ; !A '0 ;P!R    "
  }
  DataRecord {
    Tag			    DataTag1
    Data		    "  %)30     .    B     8    (     0         %    \"     $    !     0         .    6     8    (    !     "
    "     %    \"     $    2     0         $    )    $( 90!R &X ;P!U &P ; !I $( :0!N &$ <@!Y $< 90!N       "
  }
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    <     8    (     0         %    \"     $    !     0         .    0     8    (    !     "
    "     %    \"     $    (     0         $    $    %8 80!R &D 80!N &, 90 "
  }
}
Stateflow {
  machine {
    id			    1
    name		    "tpf150516c_7624_4ade_8229_82b6b9ac6e5b"
    created		    "06-Aug-2008 11:12:56"
    isLibrary		    0
    firstTarget		    2
    sfVersion		    71014000.000003
  }
  target {
    id			    2
    name		    "sfun"
    codeFlags		    " debug=1 overflow=1 echo=1"
    machine		    1
    linkNode		    [1 0 0]
  }
}

⌨️ 快捷键说明

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