How to know about the co-ordinates of a point in a MATLAB plot
Show older comments

how to know about the value of intersection point .
Let it be blue line, now I want to know the value at y when value of x is 0.025
2 Comments
Star Strider
on 26 May 2015
Use the green and brown picture icon to attach your .png file.
tina jain
on 26 May 2015
Answers (1)
Star Strider
on 26 May 2015
Edited: Star Strider
on 26 May 2015
Use the interp1 function:
yi = interp1(x, y, 0.025, 'linear','extrap');
assuming that ‘x’ and ‘y’ are the data that define your blue line, ‘yi’ will be the value of ‘y’ where x=0.025.
Categories
Find more on Surface and Mesh Plots 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!