find peaks
조회 수: 2 (최근 30일)
이전 댓글 표시
does anyone know, is there code for finding peaks in a matrix that have noise? (because of this noise i cant use findpeaks command in matlab) the noise has so small amplitude in compared with amplitude of main wave. thanks
댓글 수: 0
답변 (4개)
Fangjun Jiang
2011년 8월 31일
If you have noise in the data, you need to filter it first. See:
doc filter
댓글 수: 4
Fangjun Jiang
2011년 9월 5일
You don't. That is the parameter to specify your designed filter. See the example in the doc.
James Tursa
2011년 8월 31일
You might try one of the FEX submissions, e.g. PeakFinder by Nate Yoder:
댓글 수: 2
Fangjun Jiang
2011년 9월 1일
use xlsread() to read the data into MATLAB workspace first, then apply filter.
Honglei Chen
2011년 9월 1일
Hi Mohammad,
Can you explain why you cannot use findpeaks? I think you can specify MinPeakHeight to avoid false alarm from the noise.
Thanks.
Harry MacDowel
2011년 9월 5일
Sometimes identifying the noise would be a good start. Try Allan Variance method.
Good luck!
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!