Can you limit findpeaks to only look for odd peaks (i.e. search 1st, 3d, 5th, etc. peaks)?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Marc Elmeua
am 7 Dez. 2018
Kommentiert: Marc Elmeua
am 7 Dez. 2018
Thanks for the help :)
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 7 Dez. 2018
No. You just find them all and subsample
[peakValues, indexesOfPeaks] = findpeaks(signals);
peakValues = peakValues(1:2:end);
indexesOfPeaks = indexesOfPeaks(1:2:end);
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!