How to remove linear trend from a time series?

8 views (last 30 days)
How to remove linear trend from a time series?

Answers (1)

Roger Wohlwend
Roger Wohlwend on 31 Jul 2014
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.

Community Treasure Hunt

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

Start Hunting!