Find slope signal change

90 views (last 30 days)
Happy Bear
Happy Bear on 12 Aug 2020
Answered: Star Strider on 12 Aug 2020
Hello, I have this graph and I want to find out when does the slope changes from negative to positive around index ~100, for each group (younger and older), using polyfit.
Each line in the plot is a matrix column (ignore the shaded area, that's the standard error of the mean).

Answers (2)

Star Strider
Star Strider on 12 Aug 2020
The ischange function (introduced in R2017b) is helpful here.

KSSV
KSSV on 12 Aug 2020

Community Treasure Hunt

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

Start Hunting!