Sensor Data Collection
Collect data from your mobile device position and motion sensors, camera,
and microphone
With MATLAB®, MATLAB Mobile™, or MATLAB Online™, you can acquire and log sensor, microphone, and camera data from your mobile device. Use MATLAB to process this data in various ways, such as plots and processing images.
You can collect data from these sensors:
Acceleration
Angular velocity
Magnetic field
Orientation
Position
Camera
Microphone
You can set camera properties including resolution, autofocus, and flash. You can set microphone properties such as sampling rate.
Functions
Topics
Get Started with Sensors
- Sensor Data Collection with MATLAB Mobile or MATLAB Online
Stream sensor data to MATLAB running in the MathWorks® Cloud or log data locally. - Sensor Data Streaming Demo
A simple walk-through that demonstrates controlling sensors and acquiring data. - Use Logged Sensor Data Example
This example shows how to plot orientation data using logged sensor data.
Log Sensor Data Locally
- Log Sensor Data Locally
Capture sensor data locally to a file on your device.
Stream Sensor Data to MATLAB on the Cloud
- Stream Sensor Data with Sensor Controls
Send sensor data to MATLAB running on MathWorks Cloud using MATLAB Mobile sensor controls. - Stream Sensor Data with mobiledev.logging Property
Stream sensor data to MATLAB running on the MathWorks Cloud using themobiledev.logging
property.
Acquire Audio and Images from Device
- Acquire Audio Data from a Mobile Device Microphone
Connect to your mobile device microphone and acquire audio signals. - Acquire Images from Android Camera
This example shows how to connect to your Android™ mobile device camera and acquire images from it. - Classify Images from Android Camera Using Pretrained Network
This example shows how to use deep learning to classify images acquired by your Android mobile device camera.