필터 지우기
필터 지우기

derivation using command diff

조회 수: 1 (최근 30일)
joo
joo 2012년 11월 28일
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
Daniel Shub
Daniel Shub 2012년 11월 28일
This is a doit4me question.

댓글을 달려면 로그인하십시오.

답변 (1개)

John Petersen
John Petersen 2012년 11월 28일
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)

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by