How to mark local peak values of a signal an count them? Matlab GUI
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have a signal and after several operations in matlab gui, i get this signal:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/149495/image.jpeg)
But i want to mark it's peak values like this (and also count them):
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/149497/image.jpeg)
What is the code to mark and count the peak values of this kind signal? Thanks in advance!!
0 Commenti
Risposta accettata
kjetil87
il 29 Ago 2013
try this one?
if you end up marking to many peaks, try playing around with
'MINPEAKDISTANCE' , 'THRESHOLD' and 'MINPEAKHEIGHT'
0 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!