Effacer les filtres
Effacer les filtres

derivation using command diff

1 vue (au cours des 30 derniers jours)
joo
joo le 28 Nov 2012
if x is position and t time
velocity=diff(x)./(diff(t)
acceleration=diff(x,2)./diff(t,2) or diff(x,2)./diff(t)
?
can anyone confirm?
  1 commentaire
Daniel Shub
Daniel Shub le 28 Nov 2012
This is a doit4me question.

Connectez-vous pour commenter.

Réponses (1)

John Petersen
John Petersen le 28 Nov 2012
velocity = diff(x);
acceleration = diff(velocity);
You can verify it yourself with an example such as x=cos(t), v=sin(t), a=-cos(t)

Catégories

En savoir plus sur File Operations dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by