How can I obtain slope of a trend line calculated for a time serie
Show older comments
Hi folks,
I wanna obtain the slope of the trend lines which have been calculated for time series. As you can see in the attached plot, there are 3 time serie and trend line has been shown for each one. How can I obtain the slope of each trend line?

Answers (1)
Rafael Hernandez-Walls
on 30 Oct 2020
0 votes
Maybe this is useful for you
3 Comments
Hamed Hedayatnia
on 30 Oct 2020
Rafael Hernandez-Walls
on 30 Oct 2020
then using
polyfit
Hamed Hedayatnia
on 30 Oct 2020
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!