How to find x value for certain y value of a lineplot in matlab
Mostrar comentarios más antiguos
I want to get EV value at P=50% without real data point at P=0.5 in the lineplot.

1 comentario
佳丽 周
el 8 de Jun. de 2022
Respuesta aceptada
Más respuestas (2)
You can find the the EV from the index of p value.
Example;
a=[4,2,3,5,6,7]
b = a.^2
Now, to find what is a at b= 9!
inx = find(b==9);
a(inx)
2 comentarios
佳丽 周
el 8 de Jun. de 2022
Sam Chak
el 8 de Jun. de 2022
Hi @佳丽 周
If the specific data and governing equation are unavailable, then you can only rely on Interpolation and Approximation Theory to find out the value.
More importantly, can you furnish the 17 visible data points (EV, P) for one-step further investigation of your NaN result?
Categorías
Más información sobre Interpolation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
