How do I extrapolate a point from a generated graph.

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

 Akzeptierte Antwort

Star Strider
Star Strider am 21 Apr. 2019

0 Stimmen

The easiest way is to use the interp1 (link) function to get the time when the car has travelled 250m.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by