Borrar filtros
Borrar filtros

Can you limit findpeaks to only look for odd peaks (i.e. search 1st, 3d, 5th, etc. peaks)?

1 visualización (últimos 30 días)
Thanks for the help :)

Respuesta aceptada

Image Analyst
Image Analyst el 7 de Dic. de 2018
No. You just find them all and subsample
[peakValues, indexesOfPeaks] = findpeaks(signals);
peakValues = peakValues(1:2:end);
indexesOfPeaks = indexesOfPeaks(1:2:end);

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by