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

📄 bluetooth_voice_article.mdl

📁 matlab bluetooth仿真程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      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"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    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
	      DstBlock		      "Short-Time FFT1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mean"
	      SrcPort		      1
	      DstBlock		      "Transpose2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Transpose1"
	      SrcPort		      1
	      DstBlock		      "Mean"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Transpose2"
	      SrcPort		      1
	      DstBlock		      "dB Conversion1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      Points		      [0, -25]
	      DstBlock		      "Relational\nOperator1"
	      DstPort		      2
	    }
	    Line {
	      Name		      "Bluetooth Tx"
	      Labels		      [0, 0]
	      SrcBlock		      "Buffer"
	      SrcPort		      1
	      DstBlock		      "Relational\nOperator1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      DstBlock		      "Matrix\nConcatenation2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Matrix\nConcatenation2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Matrix\nConcatenation2"
	      SrcPort		      1
	      DstBlock		      "Downsample"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Relational\nOperator1"
	      SrcPort		      1
	      DstBlock		      "Multiport\nSelector"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Bluetooth Tx"
	      Labels		      [-1, 1]
	      SrcBlock		      "Multiport\nSelector"
	      SrcPort		      1
	      Points		      [95, 0]
	      DstBlock		      "Matrix\nConcatenation1"
	      DstPort		      1
	    }
	    Line {
	      Name		      "802.11 Tx"
	      Labels		      [-1, 1]
	      SrcBlock		      "Multiport\nSelector"
	      SrcPort		      2
	      DstBlock		      "Matrix\nConcatenation1"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace"
	  Position		  [370, 419, 450, 451]
	  ShowName		  off
	  VariableName		  "Num_802_packets"
	  MaxDataPoints		  "1"
	  SampleTime		  "-1"
	  SaveFormat		  "Array"
	}
	Line {
	  SrcBlock		  "Rx"
	  SrcPort		  1
	  DstBlock		  "Subsystem"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Tx"
	  SrcPort		  1
	  DstBlock		  "Subsystem"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Tx_802"
	  SrcPort		  1
	  DstBlock		  "Subsystem"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Tx_802 Envelope"
	  SrcPort		  1
	  DstBlock		  "Counter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "State"
	  SrcPort		  1
	  Points		  [50, 0]
	  DstBlock		  "Subsystem"
	  DstPort		  enable
	}
	Line {
	  SrcBlock		  "Counter"
	  SrcPort		  1
	  Points		  [0, 0; 20, 0]
	  Branch {
	    DstBlock		    "802.11 Packets \nTransmitted"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 90]
	    DstBlock		    "To Workspace"
	    DstPort		    1
	  }
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Master Transmitter\n(Cellphone)"
      Ports		      [0, 2]
      Position		      [55, 157, 155, 248]
      FontName		      "Arial"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "plot(0,0,100,100,[30,60,60,55,55,30,30],[10,10,"
"90,90,70,70,10],[35,35,55,55,35],[64,45,45,64,64])"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Master Transmitter\n(Cellphone)"
	Location		[53, 127, 944, 620]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "Access Code"
	  Ports			  [0, 1]
	  Position		  [340, 58, 415, 92]
	  ShowName		  off
	  SourceBlock		  "dspsrcs4/DSP\nConstant"
	  SourceType		  "DSP Constant"
	  Value			  "Access_Code"
	  SampleMode		  "Discrete"
	  discreteOutput	  "Frame-based"
	  continuousOutput	  "Sample-based"
	  sampTime		  "30*(1/Input_Fs)"
	  framePeriod		  "30*(1/Input_Fs)"
	  additionalParams	  off
	  dataType		  "Inherit from 'Constant value'"
	  wordLen		  "16"
	  udDataType		  "sfix(16)"
	  fracBitsMode		  "Best precision"
	  numFracBits		  "15"
	  InterpretAs1D		  "off"
	  Ts			  "30*(1/Input_Fs)"
	  FramebasedOutput	  "on"
	  Port {
	    PortNumber		    1
	    Name		    "Access Code"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  Reference
	  Name			  "Bluetooth\nClock"
	  Ports			  [0, 1]
	  Position		  [370, 353, 425, 377]
	  SourceBlock		  "bluetooth_lib/Bluetooth\nClock"
	  SourceType		  "Bluetooth Clock"
	  Ts			  "(1/1600)/2"
	  Port {
	    PortNumber		    1
	    Name		    "Hop"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Bluetooth\nHEC Generator"
	  Ports			  [1, 1]
	  Position		  [200, 168, 280, 202]
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MaskType		  "Bluetooth HEC Generator"
	  MaskDescription	  "Compute the Bluetooth Header Error Check (H"
"EC) as specified in section 5.4 of the Bluetooth specification.  The Upper Ad"
"dress Part (UAP) is used to initialize the state of the encoder.  The UAP is "
"an 8-bit vector, LSB first."
	  MaskPromptString	  "UAP:"
	  MaskStyleString	  "edit"
	  MaskTunableValueString  "on"
	  MaskEnableString	  "on"
	  MaskVisibilityString	  "on"
	  MaskToolTipString	  "on"
	  MaskVariables		  "uap=@1;"
	  MaskDisplay		  "disp('Bluetooth\\nHEC Generator')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "[1 0 0 1 0 1 1 0]"
	  Port {
	    PortNumber		    1
	    Name		    "HEC"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	  System {
	    Name		    "Bluetooth\nHEC Generator"
	    Location		    [276, 394, 785, 557]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		     

⌨️ 快捷键说明

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