detect increse/decreases in time series data

Hello everyone,
I have time series data of an engine power output as you can see in the picture. I want to find a way to detect the changes in load (increase/decrease) and the duration of these changes (how much time to increase and how much time of decrease). So I want something like time of start increasing,time of stop increasing, time of start decreasing , time of start decreasing. so I can calculate the durations.
Any idea woluld be helpful.
Thanks, Vanessa

 Accepted Answer

You can use the functions findchangepts, or ischange for time-series data, to detect abrupt changes in terms of slope or mean value.
Provide some data if you want more details

2 Comments

Thank you for your answer. I noticed that this function was introduced in MATLAB R2017b. Is there an alternative for older versions? Or another way to detect the changes?
You can probably find something useful on fileexchange, like this one ( Link)

Sign in to comment.

More Answers (0)

Asked:

on 14 Jun 2018

Commented:

on 14 Jun 2018

Community Treasure Hunt

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

Start Hunting!