Cut a periodic signal

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

For starters, I'd smooth it and then use findpeaks to get the indices of each peak.
You could also try autocorrelation.
Thanks, findpeaks works perfeclty !

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!