How to know about the co-ordinates of a point in a MATLAB plot
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Star Strider
2015-5-26
编辑:Star Strider
2015-5-26
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!