How to find the smoothness of these results?

3 visualizzazioni (ultimi 30 giorni)
Lala0099
Lala0099 il 9 Apr 2019
Risposto: Jan il 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 Commento
John D'Errico
John D'Errico il 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.

Accedi per commentare.

Risposte (1)

Jan
Jan il 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!

Translated by