Finding X Y coordinates from surface plot
Show older comments
Hi All, n00b to MatLab and I have a question that is giving me fits!
peaks is a built-in example function of two variables in MatLab. You can see what peaks looks like with surf(peaks).
Using MatLab, what is the maximum value of peaks (i.e., the maximum z value)?
This one I understand. I use Z = peaks; then max (max(Z)) to get the answer. No problem!
Using MatLab, what is the x, y coordinate of the maximum value?
This is my frustrating issue!
My prof assigned this but hasn't returned a response to my email and I'd like to get this done ASAP. Any advice would be appreciated!
Accepted Answer
More Answers (0)
Categories
Find more on Measurements and Feature Extraction in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!