How to find the smoothness of these results?

3 次查看(过去 30 天)
I have a set of measurements of acceleration (in x, y, z direction).
I am supposed to be finding the indicator of the signal to show how smooth it is (jerk metric).
But i don`t know how to do it.
i understand that i have to use differentiation, to get the derivative of data ( i dont know if i have to differentiate the acceleration values).
Could someone help me to get some ideas?
Thank you
  1 个评论
John D'Errico
John D'Errico 2019-4-9
Jerk is a term sometimes used to describe the third derivative, thus the derivative of acceleration. If you have acceleration versus time, then cmpute the derivative.

请先登录,再进行评论。

回答(1 个)

Jan
Jan 2019-4-9
Acceleration = rand(1, 1000); % Test data
Jerk = gradient(Acceleration);
This replies the two sided quotient of differences as 2nd order approximation of the derivative.

Community Treasure Hunt

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

Start Hunting!

Translated by