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!