Find slope signal change

60 次查看(过去 30 天)
Happy Bear
Happy Bear 2020-8-12
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).

回答(2 个)

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

KSSV
KSSV 2020-8-12

Community Treasure Hunt

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

Start Hunting!

Translated by