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

2 visualizaciones (últimos 30 días)
Julian M
Julian M el 24 de Ag. de 2020
Comentada: Julian M el 26 de Ag. de 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?

Respuesta aceptada

Alan Stevens
Alan Stevens el 24 de Ag. de 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 comentario
Julian M
Julian M el 26 de Ag. de 2020
I used interp1 function and it gave me very resoanable estimation.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by