The Octave Forge package repository is no longer actively maintained. Please find Octave Packages at https://packages.octave.org.

Navigation

Operators and Keywords

Function List:

C++ API

Function File: dat = detrend (dat)
Function File: dat = detrend (dat, ord)

Detrend outputs and inputs of dataset dat by removing the best fit of a polynomial of order ord. If ord is not specified, default value 0 is taken. This corresponds to removing a constant.

Package: control