Improving the peak detection

5 次查看(过去 30 天)
Stefan
Stefan 2014-8-23
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 个评论
Image Analyst
Image Analyst 2014-8-23
Did you try contacting the author who wrote the software?
Stefan
Stefan 2014-8-24
Hi,I wrote a mail to him but got not reply.
I am unable to adjust the function parameters.Can I know how to adjust them in a better way such that it won't detects the nearest peaks. Thanks,

请先登录,再进行评论。

回答(1 个)

Chinnaiah Golla
Chinnaiah Golla 2014-11-5
编辑:Chinnaiah Golla 2014-11-5
It may be useful to you to find the peaks..... Peak Analysis

产品

Community Treasure Hunt

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

Start Hunting!

Translated by