How to find x value for certain y value of a lineplot in matlab
Afficher commentaires plus anciens
I want to get EV value at P=50% without real data point at P=0.5 in the lineplot.

1 commentaire
佳丽 周
le 8 Juin 2022
Réponse acceptée
Plus de réponses (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 commentaires
佳丽 周
le 8 Juin 2022
Sam Chak
le 8 Juin 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?
Catégories
En savoir plus sur Spline Postprocessing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
