Correlation

Correlation between ff and gg, 2 piecewise continuous functions absolutely integrable over (−∞,∞)(-\infty, \infty):

(f⋆g)(t)=∫−∞∞f(λ)g(λ−t) dλ(f \star g)(t) = \int_{-\infty}^{\infty} f(\lambda) g(\lambda - t) \, \text{d}\lambda

Relation with Convolution

(f⋆g)(t)=(−f∗g)(t)=(f∗−g)(t)(f \star g)(t) = (-f * g)(t) = (f * {-g})(t)

Types

Cross-Correlation

Correlation of 2 different signals ff and gg. Measures the similarity between them as a function of time lag tt. Not commutative in general:

(f⋆g)(t)≠(g⋆f)(t)(f \star g)(t) \neq (g \star f)(t)

Autocorrelation

Correlation of a signal with itself:

Rff(t)=(f⋆f)(t)=∫−∞∞f(λ)f(λ−t) dλR_{ff}(t) = (f \star f)(t) = \int_{-\infty}^{\infty} f(\lambda) f(\lambda - t) \, \text{d}\lambda

Always symmetric: Rff(t)=Rff(−t)R_{ff}(t) = R_{ff}(-t).

Applications

  • Signal detection
    Finding a known pattern within a noisy signal by sliding it over the signal.
  • Time-delay estimation
    Determining the lag between 2 related signals from different sensors.
  • Power spectral density
    Autocorrelation and PSD are a Fourier transform pair (Wiener-Khinchin theorem).
Written by September 29, 2026 1 min read
Was this helpful?