find peaks in a mesh plot

How do I find peaks in a mesh plot and also find its location on the mesh grid?

Answers (2)

KSSV
KSSV on 17 Jan 2019
Read about max ..It gives indices also....
Image Analyst
Image Analyst on 17 Jan 2019
If you have the Image Processing Toolbox, use imregionalmax() on the 3-D height (signal) array that you plotted.

Asked:

on 17 Jan 2019

Answered:

on 17 Jan 2019

Community Treasure Hunt

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

Start Hunting!