Subtract offset or trend from time-domain signals contained in
iddata
objects
detrend
subtracts offsets or linear trends from
time-domain input-output data represented in iddata
objects.
detrend
either computes the trend data to subtract, or
subtracts the trend that you specify.
For a more general detrending function that does not require
iddata
objects, see detrend
.
computes and subtracts the piecewise-linear trends for data with segmented
trends, using the breakpoints that you define with
data_d
= detrend(data
,1,brkpt
)brkpt
.
The second argument, which corresponds to Type
, must be
1
.
With this syntax, you cannot retrieve the resulting piecewise-linear trend information as an output.