{"id":1388,"date":"2015-08-10T07:00:12","date_gmt":"2015-08-10T11:00:12","guid":{"rendered":"https:\/\/blogs.mathworks.com\/steve\/?p=1388"},"modified":"2015-08-08T11:10:03","modified_gmt":"2015-08-08T15:10:03","slug":"iphone-and-android-sensor-measurements","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/steve\/2015\/08\/10\/iphone-and-android-sensor-measurements\/","title":{"rendered":"iPhone and Android sensor measurements"},"content":{"rendered":"<p>Here's something cool to try ...<\/p>\r\n\r\n<p>I just downloaded the <a href=\"\">MATLAB Support Package for Apple iOS Sensors<\/a> and the latest MATLAB Mobile app for my iPhone.<\/p>\r\n\r\n<p>So the first thing I did was throw and catch my phone while logging the phone's acceleration sensors.<\/p>\r\n\r\n<p>Here's the result:<\/p>\r\n\r\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/steve\/files\/sample-iphone-acceleration-plot.png\" alt=\"\" title=\"\" \/><\/p>\r\n\r\n<p>You can see the toss at 1 second, the catch at 2 seconds, and the free fall in between.<\/p>\r\n\r\n<p>If you have an Android phone, try the <a href=\"\">MATLAB Support Package for Android Sensors<\/a>. <\/p>\r\n\r\n<p>Be sure to look at the system requirements for these support packages. You'll need the latest release of MATLAB, R2015a, to use the iOS package. You need R2014a or later to use the Android package, or you can try <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/40876-android-sensor-support-from-matlab--r2013a--r2013b-\">this earlier package<\/a> to use with releases R2013a and R2013b.<\/p>\r\n\r\n<p>Just don't blame me if you drop your phone!<\/p>","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/steve\/files\/sample-iphone-acceleration-plot.png\" onError=\"this.style.display ='none';\" \/><\/div><p>Here's something cool to try ...\r\n\r\nI just downloaded the MATLAB Support Package for Apple iOS Sensors and the latest MATLAB Mobile app for my iPhone.\r\n\r\nSo the first thing I did was throw and catch... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/steve\/2015\/08\/10\/iphone-and-android-sensor-measurements\/\">read more >><\/a><\/p>","protected":false},"author":42,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts\/1388"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/users\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/comments?post=1388"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts\/1388\/revisions"}],"predecessor-version":[{"id":1389,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts\/1388\/revisions\/1389"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/media?parent=1388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/categories?post=1388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/tags?post=1388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}