Documentation |
Sample autocorrelation
autocorr(y) plots the sample autocorrelation function (ACF) of the univariate, stochastic time series y with confidence bounds.
acf = autocorr(y,numLags) returns the ACF, where numLags specifies the number of lags in the sample ACF.