Linear Detrending
detrend(v)
Returns the array
v
with any linear trend removed.
Arguments:
v
is a real- or complex-valued data array whose length is greater than or equal to 3.