How do I extrapolate a point from a generated graph.

조회 수: 2 (최근 30일)
Cheng-Han Yang
Cheng-Han Yang 2019년 4월 21일
댓글: Star Strider 2019년 4월 21일
So this is the question
The velocity (ms-1) of a car is measured every minute for 24 minutes and recorded as:
vel = [0 .45 1.79 4.02 7.15 11.18 16.09 21.90 29.05 29.05
29.05 29.05 29.05 22.42 17.9 17.9 17.9 17.9 14.34 11.01 8.9
6.54 2.03 0.55 0];
How long did the object take to pass 250m?
I have successfully generated a time against cummulative distance graph, but I'm stuck now.
Many thanks

채택된 답변

Star Strider
Star Strider 2019년 4월 21일
The easiest way is to use the interp1 (link) function to get the time when the car has travelled 250m.

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by