derivative from set of values code.
조회 수: 11 (최근 30일)
이전 댓글 표시
i have a set of values of displacemnt and time values. how can i get the values of velocity and acceleration with this?
댓글 수: 0
답변 (1개)
KALYAN ACHARJYA
2021년 2월 13일
Hints Only:
Extracts the displacement and time vector separately from the input data matrix , use indices colon":" for all rows or clumns
Velocity: The rate of change of displacement wrt time
velocity=diff(displacemnet)./diff(time)
See the detail of diff function here
Acceleration: The rate of change of velocity wrt time , do double differentiation or once more on above equation.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!