How to find the vaule of a 2-D plot at certain point

2 views (last 30 days)
I have drawn a 2-D plot using the attached data points in matlab.
I would like to find the exact value of the function at exact x coordinates such as 1.2, 1.3 and etc.
The exact value of the function at these points are not knwon.
Which function should I use to find the values?

Accepted Answer

Alan Stevens
Alan Stevens on 24 Aug 2020
Use interp1 to interpolate between known values. Of course you can't guarantee exact values unless you know the exact form of the function!

More Answers (0)

Community Treasure Hunt

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

Start Hunting!