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

조회 수: 1 (최근 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.

댓글을 달려면 로그인하십시오.

답변 (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 CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by