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

📄 bluetooth_voice_article.mdl

📁 Bluetooth Voice with Simulink and MatLab
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  LatchInput		  off
	  Interpolate		  on
	}
	Block {
	  BlockType		  Display
	  Name			  "802.11 Packets \nTransmitted"
	  Ports			  [1]
	  Position		  [365, 330, 455, 360]
	  Format		  "short"
	  Decimation		  "1"
	  Floating		  off
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Counter"
	  Ports			  [1, 1]
	  Position		  [230, 315, 300, 375]
	  SourceBlock		  "dspswit3/Counter"
	  SourceType		  "Counter"
	  Direction		  "Up"
	  CountEvent		  "Rising edge"
	  CounterSize		  "User defined"
	  MaxCount		  "1000"
	  InitialCount		  "0"
	  Output		  "Count"
	  HitValue		  "32"
	  ResetInput		  "off"
	  SamplesPerFrame	  "1"
	  Ts			  "1"
	}
	Block {
	  BlockType		  Constant
	  Name			  "State"
	  Position		  [215, 20, 245, 50]
	  Value			  "1"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem"
	  Ports			  [3, 0, 1]
	  Position		  [215, 115, 385, 275]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  on
	  RTWSystemCode		  "Auto"
	  RTWFcnNameOpts	  "Auto"
	  RTWFileNameOpts	  "Auto"
	  System {
	    Name		    "Subsystem"
	    Location		    [-15, 425, 972, 904]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "automatic"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [40, 133, 70, 147]
	      Port		      "1"
	      LatchInput	      off
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [40, 163, 70, 177]
	      Port		      "2"
	      LatchInput	      off
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [30, 358, 60, 372]
	      Port		      "3"
	      LatchInput	      off
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      EnablePort
	      Name		      "Enable"
	      Ports		      []
	      Position		      [475, 40, 495, 60]
	      StatesWhenEnabling      "held"
	      ShowOutputPort	      off
	    }
	    Block {
	      BlockType		      Abs
	      Name		      "Abs"
	      Position		      [320, 140, 350, 170]
	      ShowName		      off
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Buffer"
	      Ports		      [1, 1]
	      Position		      [400, 130, 450, 180]
	      ShowName		      off
	      SourceBlock	      "dspbuff3/Buffer"
	      SourceType	      "Buffer"
	      N			      "60*500"
	      V			      "59*500"
	      ic		      "0"
	      Port {
		PortNumber		1
		Name			"Bluetooth Tx"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
	      }
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Buffer2"
	      Ports		      [1, 1]
	      Position		      [700, 340, 750, 390]
	      ShowName		      off
	      SourceBlock	      "dspbuff3/Buffer"
	      SourceType	      "Buffer"
	      N			      "60"
	      V			      "59"
	      ic		      "-70"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [485, 180, 515, 210]
	      ShowName		      off
	      Value		      "0"
	      VectorParams1D	      on
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Downsample"
	      Ports		      [1, 1]
	      Position		      [235, 138, 280, 172]
	      ShowName		      off
	      SourceBlock	      "dspsigops/Downsample"
	      SourceType	      "Downsample"
	      N			      "125"
	      phase		      "0"
	      ic		      "0"
	      smode		      "Allow multirate"
	      fmode		      "Maintain input frame rate"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Matrix\nConcatenation1"
	      Ports		      [2, 1]
	      Position		      [805, 139, 860, 186]
	      ShowName		      off
	      SourceBlock	      "simulink3/Signals\n& Systems/Matrix\nCo"
"ncatenation"
	      SourceType	      "Matrix Concatenation"
	      numInports	      "2"
	      catMethod		      "Horizontal"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Matrix\nConcatenation2"
	      Ports		      [2, 1]
	      Position		      [130, 123, 185, 187]
	      ShowName		      off
	      SourceBlock	      "simulink3/Signals\n& Systems/Matrix\nCo"
"ncatenation"
	      SourceType	      "Matrix Concatenation"
	      numInports	      "2"
	      catMethod		      "Horizontal"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Mean"
	      Ports		      [1, 1]
	      Position		      [315, 345, 370, 385]
	      SourceBlock	      "dspstat3/Mean"
	      SourceType	      "Mean"
	      run		      "off"
	      reset_popup	      "None"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Multiport\nSelector"
	      Ports		      [1, 2]
	      Position		      [630, 136, 680, 189]
	      ShowName		      off
	      SourceBlock	      "dspindex/Multiport\nSelector"
	      SourceType	      "Multiport Selector"
	      rowsOrCols	      "Columns"
	      idxCellArray	      "{ 1,2}"
	      idxErrMode	      "Clip Index"
	      Port {
		PortNumber		1
		Name			"Bluetooth Tx"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
	      }
	      Port {
		PortNumber		2
		Name			"802.11 Tx"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
	      }
	    }
	    Block {
	      BlockType		      RelationalOperator
	      Name		      "Relational\nOperator1"
	      Position		      [545, 147, 575, 178]
	      ShowName		      off
	      Operator		      ">"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Reshape"
	      Ports		      [1, 1]
	      Position		      [110, 353, 140, 377]
	      SourceBlock	      "simulink3/Signals\n& Systems/Reshape"
	      SourceType	      "Reshape"
	      OutputDimensionality    "Customize"
	      OutputDimensions	      "[500,125]"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector1"
	      Ports		      [1, 1]
	      Position		      [555, 347, 575, 383]
	      ShowName		      off
	      InputType		      "Vector"
	      ElementSrc	      "Internal"
	      Elements		      "[257:512 1:256]"
	      RowSrc		      "Internal"
	      Rows		      "1"
	      ColumnSrc		      "Internal"
	      Columns		      "1"
	      InputPortWidth	      "512"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector2"
	      Ports		      [1, 1]
	      Position		      [625, 347, 645, 383]
	      ShowName		      off
	      InputType		      "Vector"
	      ElementSrc	      "Internal"
	      Elements		      "7:506"
	      RowSrc		      "Internal"
	      Rows		      "1"
	      ColumnSrc		      "Internal"
	      Columns		      "1"
	      InputPortWidth	      "512"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Short-Time FFT1"
	      Ports		      [1, 1]
	      Position		      [180, 337, 245, 393]
	      ShowName		      off
	      SourceBlock	      "dspspect3/Short-Time FFT"
	      SourceType	      "Short-Time FFT"
	      wintype		      "Hanning"
	      Rs		      "50"
	      beta		      "5"
	      winsamp		      "Periodic"
	      inheritFFT	      "off"
	      fftsize		      "512"
	      navg		      "1"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Spectogram"
	      Ports		      [1]
	      Position		      [910, 340, 955, 390]
	      SourceBlock	      "dspsnks3/Matrix\nViewer"
	      SourceType	      "Matrix Viewer"
	      ImageParams	      "on"
	      CMapStr		      "jet(256)"
	      YMin		      "-60"
	      YMax		      "-30"
	      AxisColorbar	      "on"
	      AxisParams	      "on"
	      AxisOrigin	      "Lower left corner"
	      XLabel		      "Time Index"
	      YLabel		      "Frequency Index"
	      ZLabel		      "dB Magnitude"
	      FigPos		      "[65 269 688 127]"
	      AxisZoom		      "on"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Spectrum\nPlot"
	      Ports		      [1]
	      Position		      [595, 240, 630, 290]
	      SourceBlock	      "dspsnks3/Vector\nScope"
	      SourceType	      "Vector Scope"
	      ScopeProperties	      "on"
	      Domain		      "Frequency"
	      HorizSpan		      "1"
	      DisplayProperties	      "off"
	      AxisGrid		      "on"
	      Memory		      "off"
	      FrameNumber	      "on"
	      AxisLegend	      "on"
	      AxisZoom		      "off"
	      OpenScopeAtSimStart     "on"
	      OpenScopeImmediately    "off"
	      FigPos		      "[2 605 774 120]"
	      AxisProperties	      "off"
	      XUnits		      "Hertz"
	      XRange		      "[-Fs/2...Fs/2]"
	      InheritXIncr	      "off"
	      XIncr		      "1e-8"
	      XLabel		      "Time"
	      YUnits		      "Magnitude"
	      YMin		      "-80.906815143504"
	      YMax		      "-25.7732682054945"
	      YLabel		      "Magnitude, dB"
	      LineProperties	      "off"
	      LineStyles	      "--"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Timing\nDiagram"
	      Ports		      [1]
	      Position		      [915, 140, 950, 190]
	      SourceBlock	      "dspsnks3/Vector\nScope"
	      SourceType	      "Vector Scope"
	      ScopeProperties	      "on"
	      Domain		      "User-defined"
	      HorizSpan		      "1"
	      DisplayProperties	      "off"
	      AxisGrid		      "on"
	      Memory		      "off"
	      FrameNumber	      "on"
	      AxisLegend	      "on"
	      AxisZoom		      "off"
	      OpenScopeAtSimStart     "on"
	      OpenScopeImmediately    "off"
	      FigPos		      "[8 427 776 129]"
	      AxisProperties	      "off"
	      XUnits		      "Hertz"
	      XRange		      "[0...Fs/2]"
	      InheritXIncr	      "off"
	      XIncr		      "125*1e-8"
	      XLabel		      "Time (s)"
	      YUnits		      "dB"
	      YMin		      "0"
	      YMax		      "1.1"
	      YLabel		      "Amplitude"
	      LineProperties	      "off"
	      LineStyles	      "-|-"
	      LineColors	      "[0 1 0]|[1 0 0]"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Transpose"
	      Ports		      [1, 1]
	      Position		      [795, 345, 850, 385]
	      SourceBlock	      "dspmtrx3/Transpose"
	      SourceType	      "Transpose"
	      Hermitian		      "off"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Transpose1"
	      Ports		      [1, 1]
	      Position		      [265, 342, 300, 388]
	      SourceBlock	      "dspmtrx3/Transpose"
	      SourceType	      "Transpose"
	      Hermitian		      "off"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Transpose2"
	      Ports		      [1, 1]
	      Position		      [390, 342, 425, 388]
	      SourceBlock	      "dspmtrx3/Transpose"
	      SourceType	      "Transpose"
	      Hermitian		      "off"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "dB Conversion1"
	      Ports		      [1, 1]
	      Position		      [450, 344, 485, 386]
	      ShowName		      off
	      SourceBlock	      "dspmathops/dB Conversion"
	      SourceType	      "dB Conversion"
	      dBtype		      "dB"
	      intype		      "Power"
	      R			      "1"
	      fuzz		      "on"
	      Port {
		PortNumber		1
		Name			"100MHz Channel"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
	      }
	    }
	    Line {
	      SrcBlock		      "Transpose"
	      SrcPort		      1
	      DstBlock		      "Spectogram"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Buffer2"
	      SrcPort		      1
	      DstBlock		      "Transpose"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Abs"
	      SrcPort		      1
	      DstBlock		      "Buffer"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Downsample"
	      SrcPort		      1
	      DstBlock		      "Abs"
	      DstPort		      1
	    }
	    Line {
	      Name		      "100MHz Channel"
	      SrcBlock		      "dB Conversion1"
	      SrcPort		      1
	      Points		      [40, 0; 5, 0]
	      Branch {
		DstBlock		"Selector1"
		DstPort			1
	      }
	      Branch {
		Labels			[2, 0]
		Points			[0, -100]
		DstBlock		"Spectrum\nPlot"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Short-Time FFT1"
	      SrcPort		      1
	      DstBlock		      "Transpose1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Selector1"
	      SrcPort		      1
	      DstBlock		      "Selector2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Selector2"
	      SrcPort		      1
	      DstBlock		      "Buffer2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Matrix\nConcatenation1"
	      SrcPort		      1
	      DstBlock		      "Timing\nDiagram"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "Reshape"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Reshape"
	      SrcPort		      1

⌨️ 快捷键说明

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