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

📄 lhw_stbc_x3h.mdl

📁 用simlink开发的space-time coding仿真模型,仿真的精度与效率有不小的提高
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Ground
    }
    Block {
      BlockType		      Inport
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      Interpolate	      on
    }
    Block {
      BlockType		      Math
      Operator		      "exp"
      OutputSignalType	      "auto"
      SampleTime	      "-1"
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      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		      RateTransition
      Integrity		      on
      Deterministic	      on
      X0		      "0"
      OutPortSampleTime	      "-1"
    }
    Block {
      BlockType		      Reference
    }
    Block {
      BlockType		      Rounding
      Operator		      "floor"
      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		      Terminator
    }
    Block {
      BlockType		      ToWorkspace
      VariableName	      "simulink_output"
      MaxDataPoints	      "1000"
      Decimation	      "1"
      SampleTime	      "0"
      FixptAsFi		      off
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Arial"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Arial"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "lhw_STBC_X3h"
    Location		    [2, 74, 1014, 724]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Product
      Name		      "*"
      Ports		      [2, 1]
      Position		      [700, 179, 725, 241]
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Reference
      Name		      "AWGN\nChannel"
      Ports		      [1, 1]
      Position		      [685, 74, 730, 106]
      FontSize		      10
      SourceBlock	      "commchan2/AWGN\nChannel"
      SourceType	      "AWGN Channel"
      ShowPortLabels	      on
      seed		      "9587"
      noiseMode		      "Signal to noise ratio  (SNR)"
      EbNodB		      "10"
      EsNodB		      "10"
      SNRdB		      "snr"
      bitsPerSym	      "1"
      Ps		      "1"
      Tsym		      "1"
      variance		      "1"
    }
    Block {
      BlockType		      Abs
      Name		      "Abs"
      Position		      [765, 195, 795, 225]
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      SubSystem
      Name		      "Channel Coefficients"
      Ports		      [0, 1]
      Position		      [285, 164, 375, 226]
      BackgroundColor	      "lightBlue"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskPromptString	      "input sigma for rayleigh"
      MaskStyleString	      "edit"
      MaskTunableValueString  "on"
      MaskEnableString	      "on"
      MaskVisibilityString    "on"
      MaskToolTipString	      "on"
      MaskVariables	      "my_sigma=@1;"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "sqrt(2/9)"
      System {
	Name			"Channel Coefficients"
	Location		[127, 190, 542, 350]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "Buffer"
	  Ports			  [1, 1]
	  Position		  [220, 58, 260, 102]
	  FontSize		  10
	  SourceBlock		  "dspbuff3/Buffer"
	  SourceType		  "Buffer"
	  N			  "4"
	  V			  "0"
	  ic			  "0"
	}
	Block {
	  BlockType		  RateTransition
	  Name			  "Copy"
	  Position		  [70, 26, 100, 54]
	  FontSize		  10
	  Integrity		  off
	  OutPortSampleTime	  "0.75e-5"
	}
	Block {
	  BlockType		  RateTransition
	  Name			  "Copy1"
	  Position		  [70, 66, 100, 94]
	  FontSize		  10
	  Integrity		  off
	  OutPortSampleTime	  "0.75e-5"
	}
	Block {
	  BlockType		  RateTransition
	  Name			  "Copy2"
	  Position		  [70, 106, 100, 134]
	  FontSize		  10
	  Integrity		  off
	  OutPortSampleTime	  "0.75e-5"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Matrix\nConcatenation1"
	  Ports			  [3, 1]
	  Position		  [135, 51, 190, 109]
	  FontSize		  10
	  SourceBlock		  "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
	  SourceType		  "Matrix Concatenation"
	  numInports		  "3"
	  catMethod		  "Vertical"
	}
	Block {
	  BlockType		  Math
	  Name			  "Tran"
	  Ports			  [1, 1]
	  Position		  [305, 65, 335, 95]
	  Operator		  "transpose"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "h1"
	  Ports			  [0, 1]
	  Position		  [25, 29, 45, 51]
	  BackgroundColor	  "lightBlue"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "h1"
	    Location		    [189, 286, 669, 523]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Reference
	      Name		      "Complex\nExponential"
	      Ports		      [1, 1]
	      Position		      [150, 107, 200, 143]
	      SourceBlock	      "dspmathops/Complex\nExponential"
	      SourceType	      "Complex Exponential"
	      ShowPortLabels	      "on"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [270, 62, 300, 93]
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Rayleigh Noise\nGenerator"
	      Ports		      [0, 1]
	      Position		      [125, 28, 205, 72]
	      FontSize		      10
	      SourceBlock	      "commnoisgen2/Rayleigh Noise\nGenerator"
	      SourceType	      "Rayleigh Noise Generator"
	      ShowPortLabels	      "on"
	      alpha		      "my_sigma"
	      seed		      "47"
	      Ts		      "3e-5"
	      frameBased	      "off"
	      sampPerFrame	      "1"
	      orient		      "off"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Uniform Noise\nGenerator"
	      Ports		      [0, 1]
	      Position		      [25, 103, 105, 147]
	      FontSize		      10
	      SourceBlock	      "commnoisgen2/Uniform Noise\nGenerator"
	      SourceType	      "Uniform Noise Generator"
	      ShowPortLabels	      "on"
	      low		      "0"
	      up		      "2*pi"
	      seed		      "31"
	      Ts		      "3e-5"
	      frameBased	      "off"
	      sampPerFrame	      "1"
	      orient		      "off"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "h1"
	      Position		      [325, 73, 355, 87]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Uniform Noise\nGenerator"
	      SrcPort		      1
	      DstBlock		      "Complex\nExponential"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Rayleigh Noise\nGenerator"
	      SrcPort		      1
	      Points		      [20, 0; 0, 20]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Complex\nExponential"
	      SrcPort		      1
	      Points		      [25, 0; 0, -40]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "h1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "h2"
	  Ports			  [0, 1]
	  Position		  [25, 69, 45, 91]
	  BackgroundColor	  "lightBlue"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "h2"
	    Location		    [189, 286, 669, 523]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Reference
	      Name		      "Complex\nExponential"
	      Ports		      [1, 1]
	      Position		      [150, 107, 200, 143]
	      SourceBlock	      "dspmathops/Complex\nExponential"
	      SourceType	      "Complex Exponential"
	      ShowPortLabels	      "on"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [270, 62, 300, 93]
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Rayleigh Noise\nGenerator"
	      Ports		      [0, 1]
	      Position		      [125, 28, 205, 72]
	      FontSize		      10
	      SourceBlock	      "commnoisgen2/Rayleigh Noise\nGenerator"
	      SourceType	      "Rayleigh Noise Generator"
	      ShowPortLabels	      "on"
	      alpha		      "my_sigma"
	      seed		      "19181"
	      Ts		      "3e-5"
	      frameBased	      "off"
	      sampPerFrame	      "1"
	      orient		      "off"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Uniform Noise\nGenerator"
	      Ports		      [0, 1]
	      Position		      [25, 103, 105, 147]
	      FontSize		      10
	      SourceBlock	      "commnoisgen2/Uniform Noise\nGenerator"
	      SourceType	      "Uniform Noise Generator"
	      ShowPortLabels	      "on"
	      low		      "0"
	      up		      "2*pi"
	      seed		      "6089"
	      Ts		      "3e-5"
	      frameBased	      "off"
	      sampPerFrame	      "1"
	      orient		      "off"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "h2"
	      Position		      [325, 73, 355, 87]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {

⌨️ 快捷键说明

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