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

📄 ofdmnew.mdl

📁 simulation signal ofdm
💻 MDL
📖 第 1 页 / 共 3 页
字号:
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      FrameConversion
      OutFrame		      "Frame based"
    }
    Block {
      BlockType		      Gain
      Gain		      "1"
      Multiplication	      "Element-wise(K.*u)"
      ParameterDataTypeMode   "Same as input"
      ParameterDataType	      "sfix(16)"
      ParameterScalingMode    "Best Precision: Matrix-wise"
      ParameterScaling	      "2^0"
      OutDataTypeMode	      "Same as input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Ground
    }
    Block {
      BlockType		      Inport
      UseBusObject	      off
      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		      "M-S-Function"
      MFile		      "mlfile"
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      UseBusObject	      off
      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		      Rounding
      Operator		      "floor"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Selector
      InputType		      "Vector"
      IndexMode		      "One-based"
      ElementSrc	      "Internal"
      Elements		      "1"
      RowSrc		      "Internal"
      Rows		      "1"
      ColumnSrc		      "Internal"
      Columns		      "1"
      InputPortWidth	      "-1"
      IndexIsStartValue	      off
      OutputPortSize	      "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"
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "OFDMnew"
    Location		    [2, 82, 1014, 722]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "156"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "AWGN\nChannel"
      Ports		      [1, 1]
      Position		      [340, 210, 420, 250]
      Orientation	      "down"
      ShowName		      off
      FontSize		      8
      SourceBlock	      "commchan3/AWGN\nChannel"
      SourceType	      "AWGN Channel"
      ShowPortLabels	      on
      seed		      "1"
      noiseMode		      "Signal to noise ratio  (SNR)"
      EbNodB		      "10"
      EsNodB		      "40"
      SNRdB		      "60"
      bitsPerSym	      "2"
      Ps		      "0.01"
      Tsym		      "4e-6/80"
      variance		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Buffer1"
      Ports		      [1, 1]
      Position		      [440, 137, 460, 163]
      ShowName		      off
      FontName		      "Arial"
      FontSize		      8
      SourceBlock	      "dspbuff3/Buffer"
      SourceType	      "Buffer"
      N			      "256"
      V			      "0"
      ic		      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Buffer2"
      Ports		      [1, 1]
      Position		      [445, 292, 465, 318]
      ShowName		      off
      FontName		      "Arial"
      FontSize		      8
      SourceBlock	      "dspbuff3/Buffer"
      SourceType	      "Buffer"
      N			      "256"
      V			      "0"
      ic		      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Data From MAC"
      Ports		      [0, 1]
      Position		      [40, 73, 95, 117]
      NamePlacement	      "alternate"
      ShowName		      off
      FontSize		      8
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "disp('Data Source');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Data From MAC"
	Location		[2, 82, 1014, 744]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "Data Payload"
	  Ports			  [1, 1]
	  Position		  [120, 40, 210, 70]
	  SourceBlock		  "commutil2/Integer to Bit\nConverter"
	  SourceType		  "Integer to Bit Converter"
	  nbits			  "6"
	  outDtype		  "Same as input"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Random Integer\nGenerator"
	  Ports			  [0, 1]
	  Position		  [15, 35, 80, 75]
	  FontName		  "Arial"
	  SourceBlock		  "commrandsrc2/Random Integer\nGenerator"
	  SourceType		  "Random Integer Generator"
	  ShowPortLabels	  on
	  mul			  "64"
	  seed			  "37"
	  Ts			  "1/192"
	  frameBased		  on
	  sampPerFrame		  "192"
	  orient		  off
	  outDataType		  "double"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [240, 48, 270, 62]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Random Integer\nGenerator"
	  SrcPort		  1
	  DstBlock		  "Data Payload"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Payload"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Discrete-Time\nScatter Plot\nScope"
      Tag		      "ScatterPlot"
      Ports		      [1]
      Position		      [275, 134, 350, 186]
      Diagnostics	      "AllowInheritedTsInSrc"
      SourceBlock	      "commsink2/Discrete-Time\nScatter Plot\nScope"
      SourceType	      "Discrete-Time Scatter Plot Scope"
      ShowPortLabels	      on
      sampPerSymb	      "1"
      offsetEye		      "0"
      numTraces		      "64"
      numNewFrames	      "64"
      LineMarkers	      "."
      LineColors	      "b"
      fading		      on
      render		      on
      AxisGrid		      on
      xMin		      "-1.5"
      xMax		      "1.5"
      yMin		      "-1.5"
      yMax		      "1.5"
      inphaseLabel	      "In-phase Amplitude"
      quadratureLabel	      "Quadrature Amplitude"
      openScopeAtSimStart     on
      FrameNumber	      off
      FigPos		      "[232 106 560 560]"
      figTitle		      "Scatter Plot"
      numLinesMax	      "8"
      block_type_	      "scatter"
    }
    Block {
      BlockType		      SubSystem
      Name		      "IQ Mapper"
      Ports		      [1, 1]
      Position		      [155, 73, 210, 117]
      ShowName		      off
      FontSize		      8
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "disp('IQ Mapper');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"IQ Mapper"
	Location		[2, 82, 1014, 744]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In"
	  Position		  [15, 33, 45, 47]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Bit to Integer\nConverter"
	  Ports			  [1, 1]
	  Position		  [100, 18, 180, 62]
	  SourceBlock		  "commutil2/Bit to Integer\nConverter"
	  SourceType		  "Bit to Integer Converter"
	  nbits			  "6"
	  outDtype		  "Same as input"
	}
	Block {
	  BlockType		  Reference
	  Name			  "General QAM\nModulator\nBaseband"
	  Ports			  [1, 1]
	  Position		  [215, 14, 290, 66]
	  SourceBlock		  "commdigbbndam2/General QAM\nModulator\nBase"
"band"
	  SourceType		  "General QAM Modulator Baseband"
	  SigCon		  "[0.4629 + 0.4629i    0.4629 + 0.1543i    0."
"4629 + 0.7715i    0.4629 + 1.0801i    0.4629 - 0.4629i    0.4629 - 0.1543i   "
" 0.4629 - 0.7715i    0.4629 - 1.0801i    0.1543 + 0.4629i    0.1543 + 0.1543i"
"    0.1543 + 0.7715i    0.1543 + 1.0801i    0.1543 - 0.4629i    0.1543 - 0.15"
"43i    0.1543 - 0.7715i    0.1543 - 1.0801i    0.7715 + 0.4629i    0.7715 + 0"
".1543i    0.7715 + 0.7715i    0.7715 + 1.0801i    0.7715 - 0.4629i    0.7715 "
"- 0.1543i    0.7715 - 0.7715i    0.7715 - 1.0801i    1.0801 + 0.4629i    1.08"
"01 + 0.1543i    1.0801 + 0.7715i    1.0801 + 1.0801i    1.0801 - 0.4629i    1"
".0801 - 0.1543i    1.0801 - 0.7715i    1.0801 - 1.0801i   -0.4629 + 0.4629i  "
" -0.4629 + 0.1543i   -0.4629 + 0.7715i   -0.4629 + 1.0801i   -0.4629 - 0.4629"
"i   -0.4629 - 0.1543i   -0.4629 - 0.7715i   -0.4629 - 1.0801i   -0.1543 + 0.4"
"629i   -0.1543 + 0.1543i   -0.1543 + 0.7715i   -0.1543 + 1.0801i   -0.1543 - "
"0.4629i   -0.1543 - 0.1543i   -0.1543 - 0.7715i   -0.1543 - 1.0801i   -0.7715"
" + 0.4629i   -0.7715 + 0.1543i   -0.7715 + 0.7715i   -0.7715 + 1.0801i   -0.7"
"715 - 0.4629i   -0.7715 - 0.1543i   -0.7715 - 0.7715i   -0.7715 - 1.0801i   -"
"1.0801 + 0.4629i   -1.0801 + 0.1543i   -1.0801 + 0.7715i   -1.0801 + 1.0801i "
"  -1.0801 - 0.4629i   -1.0801 - 0.1543i   -1.0801 - 0.7715i   -1.0801 - 1.080"
"1i]'"
	  numSamp		  "1"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction"
	  Ports			  [1, 1]
	  Position		  [345, 25, 375, 55]
	  ShowName		  off
	  Operator		  "conj"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out"
	  Position		  [430, 33, 460, 47]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "In"
	  SrcPort		  1
	  DstBlock		  "Bit to Integer\nConverter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "General QAM\nModulator\nBaseband"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction"
	  SrcPort		  1
	  DstBlock		  "Out"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Bit to Integer\nConverter"
	  SrcPort		  1
	  DstBlock		  "General QAM\nModulator\nBaseband"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "OFDM\nSymbols"
      Ports		      [1, 1]
      Position		      [285, 73, 340, 117]
      ShowName		      off
      FontSize		      8
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "disp(' OFDM \\n Modulation');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"OFDM\nSymbols"
	Location		[0, 120, 1012, 782]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In"
	  Position		  [15, 178, 45, 192]
	  Port			  "1"
	  IconDisplay		  "Port number"

⌨️ 快捷键说明

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