Prev: Rewriting cursor data results in freeze. Please help!
Next: impoint: how to execute a function after the point has moved?
From: Hiba on 14 Jun 2010 11:15 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
From: James Tursa on 14 Jun 2010 12:34 "Hiba " <hibahage(a)hotmail.com> wrote in message <hv5h2a$sil$1(a)fred.mathworks.com>... > 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 You might try to use a Kalman Filter for this. James Tursa
From: Roger Stafford on 14 Jun 2010 13:26 "Hiba " <hibahage(a)hotmail.com> wrote in message <hv5h2a$sil$1(a)fred.mathworks.com>... > 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 If you are talking about an object's position in space, even in the two-dimensional xy-plane, knowing only an angular position is not sufficient information to determine its velocity and acceleration. You need to have some kind of information about the object's distance from the point with respect to which the angle is being measured. Roger Stafford
From: Hiba on 16 Jun 2010 06:01
Hello everyone thank you all for your answers In fact, i'm working on a robot of 6 degree of freedom, and I can get the joint position. I'm using the functions ''butter'' and ''filtfilt'' to filter this signal forward and backward by using a ''butterworth'' filter. and then I have to get the signal of the velocity from the filtered signal. Any suggestions for an analytical equations to differentiate/derivate this signal. Gradient and diff are not suitable in my case. I have to do the same to get the acceleration. Thanks in advance for your reply Regards Hiba |