This example shows how to acquire location and speed data for an Apple mobile device such as an iPhone or iPad. 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 iPhone Sensors which is available here:
http://www.mathworks.com/matlabcentral/fileexchange/40858
To use this example, you will also be required to download the mobile app: Sensor Monitor app by Ko, Young-woo from iTunes.
For more information on acquiring sensor data from your Apple device, see the following resource page:
http://www.mathworks.com/iphone-sensor
|