Change detection (step) in timeseries signal

18 views (last 30 days)
Hello all,
I have a signal where I have to detect particular points where an event happens. I have tried using the usual matlab algos of findchange points to no avail. I have attached images of the signal and at which points I want to detect.
What I would like to detect is to detect the points on the thin stem just before it slides down to the bigger stem. Any pointers will be greatly appreciated.

Accepted Answer

Star Strider
Star Strider on 9 Mar 2022
You can likely get close to that point using islocalmax and particularly Flat Maxima Regions. It might be necessary to use smoothdata first, if noise is a problem.
  2 Comments
Daniel Adeniyi
Daniel Adeniyi on 9 Mar 2022
Thanks for your response. I dont know how can i smooth the thin stems.
The challenge is that i have a bunch of signals like these and the thickness of the upper stem varies and i need to detect the values just before a descent into a new level
Star Strider
Star Strider on 9 Mar 2022
My pleasure!
The idea is not to smooth the stems, but to smooth the flat sections so that islocalmax does not have any problem in detecting the beginning of the flat section near the stems. The point you want is likely one index position less that the beginning of the flat section.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!