Get peak values from a Surface mesh figure?
Mostra commenti meno recenti
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 Commenti
Scott MacKenzie
il 4 Ago 2021
Juan Vences
il 4 Ago 2021
Scott MacKenzie
il 4 Ago 2021
Hmm, OK, well then perhaps post your data.
Juan Vences
il 4 Ago 2021
Scott MacKenzie
il 4 Ago 2021
OK, I'll post a solution in a moment that does not use findpeaks.
Juan Vences
il 4 Ago 2021
Risposta accettata
Più risposte (1)
Sulaymon Eshkabilov
il 4 Ago 2021
0 voti
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 Commento
Juan Vences
il 4 Ago 2021
Categorie
Scopri di più su Image Arithmetic in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
