How to read the desired coordinates from this image and find the coordinates with the highest value
2 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
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)
See Also
Categories
Find more on Visual Exploration 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!