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

1 vue (au cours des 30 derniers jours)
Julian M
Julian M le 24 Août 2020
Commenté : Julian M le 26 Août 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?

Réponse acceptée

Alan Stevens
Alan Stevens le 24 Août 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 commentaire
Julian M
Julian M le 26 Août 2020
I used interp1 function and it gave me very resoanable estimation.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by