Info

此问题已关闭。 请重新打开它进行编辑或回答。

Taking Accelrometer Raw Data from Android

1 次查看(过去 30 天)
Nafees  Ahmad
Nafees Ahmad 2016-12-13
关闭: MATLAB Answer Bot 2021-8-20
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*?

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by