Code covered by the BSD License  

Highlights from
Detrend Non-linear Data

Be the first to rate this file! 35 Downloads (last 30 days) File Size: 1.27 KB File ID: #35162

Detrend Non-linear Data

by

 

Removes nonlinear trend from data

| Watch this File

File Information
Description

DETRENDNONLIN Removes non-linear trend from a vector.
The nonlinearity is removed by subtracting a least-squares
polynomial fit.
Y = DETRENDNONLIN(X) subtracts a second order polynomial fit from
the data vector X.
Y = DETRENDNONLIN(X, n) subtracts a polynomial fit of order n from
the data vector X.
Note: This function may throw errors generated in the function call to
POLYFIT.

Required Products MATLAB
MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us