From: dpb on
Hiba wrote:
> Hello everyone
> I would like to know the best Matlab function I could use in order to
> get velocity signal and acceleration acceleration from only the angular
> position signal.
> I kbnow that theres' methods like gradien, diff, but I don't get good
> results
> It's so important to use a function that could help me a velocity and
> acceleration signal, as precisely as possible.
> I appreciate your help.
> Regards
> Hiba

One can try to fit the displacement signal and then analytically
differentiate; how well it will work will, of course, depend on how
noise-free the measurement is, how small the time jitter in the
measurement and how good the interpolating function models the
underlying actual movement.

Depending on the rates, some filtering might be beneficial; whether it's
possible at all depends first at a minimum, on the quality of the
measurement.

--