Get peak values from a Surface mesh figure?
Afficher commentaires plus anciens
Hello dear Matlab users !
Question for those who have lots of Matlab skills (i don't '^_^ ) and love to give some help
Let's say there is a figure (surface mesh) which plots a surface from 3 equal size matrices ("m" by "n"). And from that figure, peak values are of interest. Could somebody share an idea of how to get those peak values (x,y,z) without looking/searching for them manually please? (could be using the "Brush" [preferably], or a "fancy function"?... I have no Image Processing Toolbox too... i think lol)
Please look at attached image for example
Many thanks!
6 commentaires
Scott MacKenzie
le 4 Août 2021
Juan Vences
le 4 Août 2021
Scott MacKenzie
le 4 Août 2021
Hmm, OK, well then perhaps post your data.
Juan Vences
le 4 Août 2021
Scott MacKenzie
le 4 Août 2021
OK, I'll post a solution in a moment that does not use findpeaks.
Juan Vences
le 4 Août 2021
Réponse acceptée
Plus de réponses (1)
Sulaymon Eshkabilov
le 4 Août 2021
0 votes
You can use MATLAB's built in findpeaks() fcn to clocate local maxima of your data - see the doc: https://www.mathworks.com/help/signal/ref/findpeaks.html
1 commentaire
Juan Vences
le 4 Août 2021
Catégories
En savoir plus sur Surface and Mesh Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
