How to find the smoothness of these results?

5 views (last 30 days)
Lala0099
Lala0099 on 9 Apr 2019
Answered: Jan on 9 Apr 2019
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 Comment
John D'Errico
John D'Errico on 9 Apr 2019
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.

Sign in to comment.

Answers (1)

Jan
Jan on 9 Apr 2019
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!