How to remove linear trend from a time series?

Answers (1)

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.

Asked:

on 31 Jul 2014

Answered:

on 31 Jul 2014

Community Treasure Hunt

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

Start Hunting!