{"id":2007,"date":"2017-01-31T16:47:59","date_gmt":"2017-01-31T21:47:59","guid":{"rendered":"https:\/\/blogs.mathworks.com\/iot\/?p=2007"},"modified":"2026-03-31T18:26:18","modified_gmt":"2026-03-31T22:26:18","slug":"create-a-gps-tracker-with-matlab-mobile-and-thingspeak","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/iot\/2017\/01\/31\/create-a-gps-tracker-with-matlab-mobile-and-thingspeak\/","title":{"rendered":"Create a GPS Tracker with MATLAB Mobile and ThingSpeak"},"content":{"rendered":"<p>Takuji Fukumoto, an Application Engineer at MathWorks, shared a project with me that he created that uses capabilities of MATLAB Mobile\u2122, MATLAB Drive\u2122, MATLAB Online\u2122, and ThingSpeak\u2122. His project uses <a href=\"https:\/\/www.mathworks.com\/products\/matlab-mobile.html\">MATLAB Mobile<\/a> to send its position and sensor data to ThingSpeak. He then uses MATLAB<sup>\u00ae<\/sup> to process the data and generate maps of his position.<\/p>\n<p><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/60825-gps%E3%83%87%E3%83%BC%E3%82%BF%E8%A7%A3%E6%9E%90%E3%80%80-mobile-gps-data-analysis-on-thingspeak-\"><img decoding=\"async\" loading=\"lazy\" width=\"583\" height=\"437\" class=\"aligncenter size-full wp-image-2008\" src=\"https:\/\/blogs.mathworks.com\/iot\/files\/2017\/01\/MATLAB_Mobile_position_on_map.png\" alt=\"\" \/><\/a><\/p>\n<p>You might have noticed recently on ThingSpeak that you can link your ThingSpeak user account to a MathWorks Account. By doing so, you have access to other MathWorks products and services that you can use with the same user account. MATLAB Mobile is a native <a href=\"https:\/\/itunes.apple.com\/us\/app\/matlab-mobile\/id370976661?mt=8\">Apple<\/a> or <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.mathworks.matlabmobile\">Android<\/a> app that allows you to evaluate MATLAB commands, create and edit files, view results, acquire data from sensors, and visualize data. MATLAB Mobile also has <a href=\"https:\/\/www.mathworks.com\/help\/thingspeak\/thingspeakread.html\">thingSpeakRead<\/a> and <a href=\"https:\/\/www.mathworks.com\/help\/thingspeak\/thingspeakwrite.html\">thingSpeakWrite<\/a>\u00a0functions built-in. One exciting aspects of MATLAB Mobile is that you can capture the sensor data of the mobile device and send it to <a href=\"https:\/\/www.mathworks.com\/products\/matlab-online.html\">MATLAB Online<\/a>.<\/p>\n<p><a href=\"https:\/\/www.mathworks.com\/products\/matlab-mobile.html\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-2009\" src=\"https:\/\/blogs.mathworks.com\/iot\/files\/2017\/01\/MATLAB_Mobile_sensors.png\" width=\"400\" height=\"709\" \/><\/a><\/p>\n<p>To take the project further, you can use additional toolboxes from MathWorks to preprocess the data and do advanced mapping. Takuji demonstrates using the\u00a0<a href=\"https:\/\/www.mathworks.com\/help\/signal\/getting-started-with-signal-processing-toolbox.html\">Signal Processing Toolbox\u2122<\/a> to filter, down sample, and remove outliers from the incoming data from the MATLAB Mobile sensors. Using the\u00a0<a href=\"https:\/\/www.mathworks.com\/help\/map\/getting-started-with-mapping-toolbox.html\">Mapping Toolbox\u2122<\/a>,\u00a0he plots the latitude and longitude of his mobile device on a WPS map and displays the map on a ThingSpeak <a href=\"https:\/\/thingspeak.com\/channels\/189917\">channel<\/a>.<\/p>\n<p>Takuji has shared all of the source code and steps on <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/60825-gps%E3%83%87%E3%83%BC%E3%82%BF%E8%A7%A3%E6%9E%90%E3%80%80-mobile-gps-data-analysis-on-thingspeak-\">File Exchange<\/a>\u00a0so you can replicate this project on your own mobile device. Check out his project on <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/60825-gps%E3%83%87%E3%83%BC%E3%82%BF%E8%A7%A3%E6%9E%90%E3%80%80-mobile-gps-data-analysis-on-thingspeak-\">File Exchange<\/a> and see his raw data and visualizations on <a href=\"https:\/\/thingspeak.com\/channels\/189917\">ThingSpeak<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img src=\"https:\/\/blogs.mathworks.com\/iot\/files\/2017\/01\/MATLAB_Mobile_position_on_map.png\" class=\"img-responsive attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"\" decoding=\"async\" loading=\"lazy\" \/><\/div>\n<p>Takuji Fukumoto, an Application Engineer at MathWorks, shared a project with me that he created that uses capabilities of MATLAB Mobile\u2122, MATLAB Drive\u2122, MATLAB Online\u2122, and ThingSpeak\u2122. His project&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/iot\/2017\/01\/31\/create-a-gps-tracker-with-matlab-mobile-and-thingspeak\/\">read more >><\/a><\/p>\n","protected":false},"author":148,"featured_media":2008,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[256,3],"tags":[243,244,241,245,242,239],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts\/2007"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/users\/148"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/comments?post=2007"}],"version-history":[{"count":2,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts\/2007\/revisions"}],"predecessor-version":[{"id":3569,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/posts\/2007\/revisions\/3569"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/media\/2008"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/media?parent=2007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/categories?post=2007"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/iot\/wp-json\/wp\/v2\/tags?post=2007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}