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

2 Ansichten (letzte 30 Tage)
Julian M
Julian M am 24 Aug. 2020
Kommentiert: Julian M am 26 Aug. 2020
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?

Akzeptierte Antwort

Alan Stevens
Alan Stevens am 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!
  1 Kommentar
Julian M
Julian M am 26 Aug. 2020
I used interp1 function and it gave me very resoanable estimation.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by