Cut a periodic signal
Show older comments
Hello,
I need to cut a periodic signal collected by an accelerometer. As you can see here, the signal is approximatively periodic (the period is not perfectly constant), how can I find all time index wich separete the signal ? I have smooth the signal but now don't know what to do.
See my screenshot attached.

Thanks you a lot in advance
3 Comments
Adam Danz
on 2 Jun 2021
For starters, I'd smooth it and then use findpeaks to get the indices of each peak.
Adam Danz
on 2 Jun 2021
Eglantine Collet Manent
on 4 Jun 2021
Thanks, findpeaks works perfeclty !
Answers (0)
Categories
Find more on Smoothing and Denoising in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!