Linear Detrending

detrend(v) Returns the array v with any linear trend removed.

Arguments: