Improving the peak detection
Show older comments
Hello,
I am using the peakfinder from peakfinder from finding the peaks in a signal as shown in the attachment using the following code
[peakLoc,peakMag]=peakfinder(signal,0.002,0);
plot(1:length(e),e,'-',peakLoc,peakMag,'ro');
But it is detecting the unwanted peaks(peask which are close to each other) which can be seen at samples 331,396,7672,8746,9613(in attached matlab figure).
Can someone suggest if
1)any preprocessing is needed for the signal before finding peaks and
2)how to change the parameters of the peak finder function such that it doesn't detect the peaks which are very close to each(above the samples numbers are given) (can be seen in attached matlab figure).
Thanks.
2 Comments
Image Analyst
on 23 Aug 2014
Did you try contacting the author who wrote the software?
Stefan
on 24 Aug 2014
Answers (1)
Chinnaiah Golla
on 5 Nov 2014
Edited: Chinnaiah Golla
on 5 Nov 2014
0 votes
Categories
Find more on Descriptive Statistics in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!