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

Accepted Answer
More Answers (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 Comments
佳丽 周
on 8 Jun 2022
Sam Chak
on 8 Jun 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?
Categories
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!