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

2 ビュー (過去 30 日間)
tina jain
tina jain 2015 年 5 月 26 日
編集済み: Walter Roberson 2015 年 5 月 26 日
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 件のコメント
Star Strider
Star Strider 2015 年 5 月 26 日
Use the green and brown picture icon to attach your .png file.
tina jain
tina jain 2015 年 5 月 26 日
done....

サインインしてコメントする。

回答 (1 件)

Star Strider
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.

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by