How to read the desired coordinates from this image and find the coordinates with the highest value
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to know how to read the desired coordinates from this image and find the coordinates with the highest value.
There is an attachment.
댓글 수: 0
채택된 답변
KSSV
2021년 10월 20일
You have plotted this image with the coordinates in hand. USe max function to get the maximum value. Read about function max.
% Example
[X,Y,Z] = peaks(100) ;
[val,idx] = max(Z(:)) ;
surf(X,Y,Z);
hold on
plot3(X(idx),Y(idx),Z(idx),'*r')
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Visual Exploration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!