How to remove linear trend from a time series?

回答(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.

类别

Community Treasure Hunt

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

Start Hunting!

Translated by