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.

类别

帮助中心File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by