TSA Vector Detrend (Waveform) VI
- Updated2024-07-30
- 2 minute(s) read
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.

Inputs/Outputs
![]() 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. ![]() Xt specifies the multivariate (vector) time series. ![]() 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. ![]() error in describes error conditions that occur before this node runs. This input provides standard error in functionality. ![]() Xt detrended returns the detrended multivariate (vector) time series. ![]() trend returns the trend component of the multivariate (vector) time series. ![]() 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.