去除多项式趋势
y = deatrend(
从数据中删除最佳的直接拟合线X
)X
。
如果X
is a vector, thendetrend
减去趋势中的趋势X
。
如果X
is a matrix, thendetrend
operates on each column separately, subtracting each trend from the corresponding column.
y = deatrend(___,,,,
指定如何nanflag
)南
values are treated for any of the previous syntaxes. For example,逐渐消退(x,'omitnan')
removes南
计算趋势之前的值detrend(x,'includenan')
includes them (default).