Function to record, analyze and visualize Android sensor data
Updated 31 Mar 2017

View License

Easily record any or all sensor streams from an Android device through MATLAB mobiledev.
Available sensors include Acceleration, Angular Velocity, Orientation, Magneto and GPS.
Options include sampling frequency, recording time and visualization opts.
The data struct that is passed back contains per sensor:
- Data vectors
- Time vector
- Max
- Min
- Mean
- Variance
- Peak2RMS ratio
- Peak2Peak distance
- Mean frequency
note: visualizations opions include: printResults, plotData, plotFreq. If signal processing toolbox is not installed, set plotFreq = false.

Cite As

Victor v. Spaandonk (2024). recordAndroidData (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes