How to know about the co-ordinates of a point in a MATLAB plot
1 回表示 (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/150530/image.png)
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!