Autocor

From Eigenvector Research Documentation Wiki
Revision as of 20:55, 2 September 2008 by imported>Jeremy (Importing text file)
Jump to navigation Jump to search

Purpose

Calculates the autocorrelation function of a time series.

Synopsis

acor = autocor(x,n,period,plots)

Description

acor = autocor(x,n) returns the autocorrelation function acor of a time series x for a maximum time shift of n sample periods. acor = autocor(x,n,period) uses the sampling period period to scale the x-axis on the output plot. period can be empty []. The optional input plots suppresses plotting if set to 0.

See Also

corrmap, crosscor