Correlation is a mathematical tool used frequently in signal processing for analysing functions or series of values, such as time domain signals (Wikipedia 2006). Correlation is the mutual relationship between two or more random variables (Ali). Autocorrelation is the correlation of a signal with itself (Parr 1999). This is unlike cross-correlation, which is the correlation of two different signals (Parr 1999).
Autocorrelation is useful for finding repeating patterns in a signal, such as determining the presence of a periodic signal which has been buried under noise, or identifying the fundamental frequency of a signal which doesn't actually contain that frequency component, but implies it with many harmonic frequencies (Wikipedia 2006).
Different definitions of autocorrelation are in use depending on the field of study which is being considered and not all of them are equivalent (Wikipedia 2006). In some fields, the term is used interchangeably with autocovariance(Wikipedia 2006).
In statistics, the autocorrelation of a discrete time series or a process Xt is simply the correlation of the process against a time-shifted version of itself (Wikipedia 2006). If Xt is second-order stationary with mean μ then this definition is
where E is the expected value and k is the time shift being considered (usually referred to as the lag) (Wikipedia 2006). This function has the attractive property of being in the range [−1, 1] with 1 indicating perfect correlation (the signals exactly overlap when time shifted by k) and −1 indicating perfect anti-correlation (Wikipedia 2006). It is common practice in many disciplines to drop the normalisation by σ2 and use the term autocorrelation interchangeably with autocovariance (Wikipedia 20006).
In signal processing, given a signal f(t), the continuous autocorrelation Rf(τ) is the continuous cross-correlation of f(t) with itself, at lag τ, and is defined as:
where f* represents the complex conjugate and the circle represents convolution (Wikipedia 2006). For a real function, f* = f (Wikipedia 2006).
Formally, the discrete autocorrelation R at lag j for signal xn is
where m is the average value (expected value) of xn. Frequently, autocorrelations are calculated for zero-centered signals, that is, for signals with zero mean (Wikipedia 2006). The autocorrelation definition then becomes
Multi-dimensional autocorrelations are defined similarly.
Example: In three dimensions the autocorrelation would be defined as
The properties of autocorrelation are discussed in the following list. The properties are for one-dimensional autocorrelations only, but can easily be transferred to multi-dimensional cases (Wikipedia 2006). This list is extracted from (Wikipedia 2006).
when f is a real function, and an Hermitian function
when f is a complex function.
Exercise: What does the following autocorrelation function depend on?
References:
Ali M. "Probabilistic Systems Analyses : Part II," University of the Witwatersrand, South Africa, 2000.
Parr J, Phillips C. "Signals, Systems and Transforms," Prentice Hall, New Jersey, second edition, 1999.
Wikipedia. "Autocorrelation", Wikimedia Foundation Inc, http://en.wikipedia.org/wiki/Autocorrelation, Last accessed 14 February 2006.
Brandon Hodgson