How to mark local peak values of a signal an count them? Matlab GUI

I have a signal and after several operations in matlab gui, i get this signal:
But i want to mark it's peak values like this (and also count them):
What is the code to mark and count the peak values of this kind signal? Thanks in advance!!

 採用された回答

kjetil87
kjetil87 2013 年 8 月 29 日

0 投票

try this one?
if you end up marking to many peaks, try playing around with
'MINPEAKDISTANCE' , 'THRESHOLD' and 'MINPEAKHEIGHT'

その他の回答 (0 件)

質問済み:

2013 年 8 月 29 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by