finding number of maxima of a noisy signal
- December 11, 2020
- 4 replies
- 17267 views
Hello everyone,
In the attached worksheet, I would like to find the number of maxima of a noisy signal.
I have observed that the built-in "localmax" function, misses some of the peaks and considers some false peaks even with the window option that could be hard to use with higher frequency signals.
To develop the algorithm, I have smoothed my signal using "movavg" and "loess" functions and finally set some conditions to disregard some of the false peaks. However, there is still a difference between the true and extracted number of maxima. In the current worksheet, the true number of maxima in the attached file can be counted 97 but I have got the number 101 so far.
I appreciate it if you share your idea and advice on this worksheet.
All the best,
Payman.



