Android sensor data acquisition - accelerometer example

Count steps by capturing the acceleration data from a mobile device with a computer running MATLAB.

3.7K 次下载

更新时间 2013/7/31

查看许可证

This example shows how to capture the acceleration of an Android mobile device such as a mobile phone or tablet. The acceleration is a three dimensional quantity representing the acceleration on each axis of the mobile device. The example shows how to access current values of acceleration and also demonstrates how to plot logged acceleration values. The data is then further analyzed in MATLAB to determine how many steps the person walked during the data collection period.

This example requires the user to first install the MATLAB Support Package for Android Sensors which is available here:

http://www.mathworks.com/matlabcentral/fileexchange/40876

To use this example, you will also be required to download the mobile app: SensorUdp app by Takashi, Sasaki from Google Play.

For more information on acquiring sensor data from your Android device, see the following resource page:

http://www.mathworks.com/android-sensor

引用格式

MathWorks Mobile Sensor Connectivity Team (2023). Android sensor data acquisition - accelerometer example (https://www.mathworks.com/matlabcentral/fileexchange/42821-android-sensor-data-acquisition-accelerometer-example), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2013a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Accelerometer/

版本 已发布 发行说明
1.0.0.0