View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Android sensor data acquisition – location sensor (GPS) example

3.5 | 2 ratings Rate this file 10 Downloads (last 30 days) File Size: 293 KB File ID: #42804 Version: 1.0
image thumbnail

Android sensor data acquisition – location sensor (GPS) example



Acquire and visualize location data for a mobile device from a computer running MATLAB.

| Watch this File

File Information

This example shows how to acquire location and speed data for an Android mobile device such as a mobile phone or tablet. The location data consists of latitude, longitude and altitude data. In this example, the captured latitude and longitude data is plotted in MATLAB and overlaid on a satellite image from a USGS national map using Mapping Toolbox.

The example also shows how to use MATLAB to remove bad data, plot the speed of the mobile device and calculate the physical distance between location data points. The example shows how to access current values of location and also demonstrates how to analyze logged location data.

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

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:

Required Products Mapping Toolbox
MATLAB release MATLAB 8.1 (R2013a)
Other requirements Please see description for additional requirements.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
02 Apr 2015 zhao

zhao (view profile)

Learn this example!

29 Dec 2013 lms

lms (view profile)


Contact us