Info

This question is closed. Reopen it to edit or answer.

Taking Accelrometer Raw Data from Android

2 views (last 30 days)
Nafees  Ahmad
Nafees Ahmad on 13 Dec 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
Hai I am doing working on activity recognization using smart phone. I am successfully taking values from Mobile (S5). and present in plot form. Know I want to take start point from the plot to using " Use data cursor to select the start point in the plot, key in the x coordinate (time)." and for this I use the code
[a, t] = accellog(mobileSensor);
fig=figure;
plot(t, a);
datacursormode on;
dcm_obj = datacursormode(fig);
startTime = input('Use data cursor to select the start point in the plot, key in the x coordinate (time).');
dcm_obj = datacursormode(fig);
stopTime = input('Use data cursor to select the stop point in the plot, key in the x coordinate (time).');
Now I want to take values into start time . But when I write curser on plot this do not take values .? *How I take vale in start time from Plot*?

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!