Mostrar comentarios más antiguos
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
Respuestas (4)
Fangjun Jiang
el 31 de Ag. de 2011
1 voto
If you have noise in the data, you need to filter it first. See:
doc filter
4 comentarios
mohammad
el 31 de Ag. de 2011
Fangjun Jiang
el 1 de Sept. de 2011
FILTER is One-dimensional digital filter.
FILTER2 is Two-dimensional digital filter
mohammad
el 1 de Sept. de 2011
Fangjun Jiang
el 5 de Sept. de 2011
You don't. That is the parameter to specify your designed filter. See the example in the doc.
James Tursa
el 31 de Ag. de 2011
1 voto
You might try one of the FEX submissions, e.g. PeakFinder by Nate Yoder:
2 comentarios
mohammad
el 1 de Sept. de 2011
Fangjun Jiang
el 1 de Sept. de 2011
use xlsread() to read the data into MATLAB workspace first, then apply filter.
Honglei Chen
el 1 de Sept. de 2011
1 voto
Hi Mohammad,
Can you explain why you cannot use findpeaks? I think you can specify MinPeakHeight to avoid false alarm from the noise.
Thanks.
1 comentario
mohammad
el 1 de Sept. de 2011
Harry MacDowel
el 5 de Sept. de 2011
0 votos
Sometimes identifying the noise would be a good start. Try Allan Variance method.
Good luck!
Categorías
Más información sobre Descriptive Statistics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!