Can you limit findpeaks to only look for odd peaks (i.e. search 1st, 3d, 5th, etc. peaks)?
1 次查看(过去 30 天)
显示 更早的评论
Thanks for the help :)
0 个评论
采纳的回答
Image Analyst
2018-12-7
No. You just find them all and subsample
[peakValues, indexesOfPeaks] = findpeaks(signals);
peakValues = peakValues(1:2:end);
indexesOfPeaks = indexesOfPeaks(1:2:end);
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!