How to find an event in data ?
7 views (last 30 days)
Show older comments
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

4 Comments
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.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!