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.

채택된 답변

KSSV
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 CenterFile Exchange에서 Visual Exploration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by