How to remove linear trend from a time series?
Show older comments
How to remove linear trend from a time series?
Answers (1)
Roger Wohlwend
on 31 Jul 2014
0 votes
Use the matlab function detrend.
Or do it yourself. Estimate the linear trend with a linear regression. The residuals of the regression are your time series without the linear trend.
Categories
Find more on Linear Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!