How to read the desired coordinates from this image and find the coordinates with the highest value

2 views (last 30 days)
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.

Accepted Answer

KSSV
KSSV on 20 Oct 2021
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')

More Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!