| Contents | Index |
Subtract mean or best-fit line and all NaNs from timeseries object
ts1 = detrend(ts, method)
ts1 = detrend(ts, method, index)
ts1 = detrend(ts, method) subtracts either a mean or a best-fit line from time-series data, using the specified method. Usually for FFT processing.
ts1 = detrend(ts, method, index) uses the optional index to specify the columns or rows to detrend.
You cannot apply detrend totimeseries data with more than two dimensions.
ts1 |
The timeseries object resulting from detrending the input timeseries object. |

Explore how to use MATLAB to make advancements in engineering and science.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |