# Wave Walker DSP

## Buy the Book!

Foundations of Digital Signal Processing: Complex Numbers is available Amazon now! Great for young engineers looking for a simple explanation of complex numbers.

Fourier Transform Explanation as a Cross-Correlation
December 22, 2021

#### Introduction

For years I accepted the Fourier transform equation on faith without knowing where it came from or why it worked. Were you in the same situation? Are you there now? In this post I describe how the Fourier transform is the cross correlation between a signal x(t) and a complex exponential . The Fourier transform explanation begins by reviewing cross correlation and then applies it to a complex exponential derive the continuous time and discrete time Fourier transform.

You might enjoy these other blogs on cross-correlation:

#### Cross Correlation

Recall that cross correlation is a measure of similarity. The cross correlation of x(t) and y(t) gives a mathematical measure of similarity between the two signals at different relative time delays , also called time lags, which is given by

(1)

Similarly for discrete-time sequences the cross correlation of x[n] and y[n] is given by

(2)

#### Continuous Time Fourier Transform Explanation

The Fourier transform describes the frequency content in x(t) at frequency f. In order to analyze the frequency content in x(t) at frequency f it is correlated with a complex exponential . Substituting

(3)

the Fourier transform can be written as a correlation (1)

(4)

The complex exponential (3) is periodic and defined over all time t, therefore computing (4) over multiple time lags does not provide any new information. Therefore, (4) can be evaluated at ,

(5)

which is the Fourier transform

(6)

#### Discrete Time Fourier Transform Explanation

The discrete-time Fourier transform (DTFT) is the discrete-time counterpart to the Fourier transform. Where the Fourier transform operates on continuous time signals the DTFT operates on discrete-time sequences. Similar to the continuous time Fourier transform above, the DTFT can be derived by using the cross correlation in (2) and substituting

(7)

where and is the sampling frequency. The cross correlation(2) of time-series x[n] with the complex exponential y[n] (7) is given by

(8)

Evaluating (8) at ,

(9)

leads to the discrete-time Fourier transform

(10)

#### Conclusion

The Fourier transform, both continuous-time and discrete-time, is the cross-correlation with an infinitely long complex exponential. The Fourier transform can be derived by calculating cross-correlation with a complex exponential at the time lag .

You might enjoy these other blogs on cross-correlation:

If you liked this post you might like the List of Important Math for DSP!