How to find an event in data ?

7 views (last 30 days)
Tomaszzz on 5 Oct 2020
Commented: Sargondjani on 16 Dec 2021
Hi all. I'm attaching a plot of acceleration versus time for a signal that I averaged over time. I want to automatically locate the event in data that I've circled in yellow. Is there a way to find the the time where it occurred? Any other tips to automate this would be welcome as well! I can find events circled in blue by using findpeaks if this of any relevance. Thanks from a Matlab beginner
Sargondjani on 16 Dec 2021
Yep, you first need to find out a rule that works. If you can identify the blue peaks, then go backwards in time (assume you can do it ex-post), and find 2 peaks earlier (those labelled three in Adam's post). Then find the last trough before those peaks.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!