Get peak values from a Surface mesh figure?
Mostrar comentarios más antiguos
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 comentarios
Scott MacKenzie
el 4 de Ag. de 2021
Juan Vences
el 4 de Ag. de 2021
Scott MacKenzie
el 4 de Ag. de 2021
Hmm, OK, well then perhaps post your data.
Juan Vences
el 4 de Ag. de 2021
Scott MacKenzie
el 4 de Ag. de 2021
OK, I'll post a solution in a moment that does not use findpeaks.
Juan Vences
el 4 de Ag. de 2021
Respuesta aceptada
Más respuestas (1)
Sulaymon Eshkabilov
el 4 de Ag. de 2021
0 votos
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 comentario
Juan Vences
el 4 de Ag. de 2021
Categorías
Más información sobre Surface and Mesh Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
