Get peak values from a Surface mesh figure?
이전 댓글 표시
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
Scott MacKenzie
2021년 8월 4일
Juan Vences
2021년 8월 4일
Scott MacKenzie
2021년 8월 4일
Hmm, OK, well then perhaps post your data.
Juan Vences
2021년 8월 4일
Scott MacKenzie
2021년 8월 4일
OK, I'll post a solution in a moment that does not use findpeaks.
Juan Vences
2021년 8월 4일
채택된 답변
추가 답변 (1개)
Sulaymon Eshkabilov
2021년 8월 4일
0 개 추천
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
카테고리
도움말 센터 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
