Removes the trend from a univariate or multivariate (vector) time series. This VI estimates the trend with curve-fitting methods. Wire data to the Xt input to determine the polymorphic instance to use or manually select the instance.


icon

Inputs/Outputs

  • ci32.png polynomial order

    polynomial order specifies the polynomial order to use in the N-polynomial fit. This option is available only when method is N-polynomial. The value must be greater than or equal to 0. The default is 2.

  • c1dmsdt.png Xt

    Xt specifies the multivariate (vector) time series.

  • c1denum.png method

    method specifies the curve-fitting method to use in estimating the trend of Xt. Each element of the array is one selection for one channel.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • i1dmsdt.png Xt detrended

    Xt detrended returns the detrended multivariate (vector) time series.

  • i1dmsdt.png trend

    trend returns the trend component of the multivariate (vector) time series.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • Examples

    Refer to the Trend Estimation (Curve Fitting) VI in the labview\examples\Time Series Analysis\TSAGettingStarted directory for an example of using the TSA Detrend VI.