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!