Discrete Fourier Transforms (DFT)

It is often necessary to obtain Fourier series applied on a set of finite data points. If one uses the conventional Fourier series expansion 1, (1) the infinite series must be truncated and (2) numerical integration must be used to compute the Fourier coefficient, cm, thus, introducing two layers of approximation.
The Discrete Fourier Transform (DFT) has advantages over the conventional Fourier series expansion in (1) requiring only N data points, (2) the original function can be reproduced exactly at the selected N points, (3) the coefficients of DFT do not require integration to be computed, (4) the DFT coefficients can be computed by Fast Fourier Transforms (FFT), and (5) When N is sufficiently large, DFT approaches the classical Fourier series.
fft_1.png

FFT

The DFT coefficients are given by eq.() and are listed here again for reference

Ck = 1

N
N−1

l = 0 
fl ωkl    k = 0, 1, 2, …, (N−1).
(1)

Examples

Example 1
Consider a data set shown as
fft_example1.gif
Its power spectrum (FFT) looks like
fft_example2.gif
Example 2 Consider a data set of (N=10)

f1 = {0,1,2,3,2,1,0,0,0,0 }
(2)
which looks like
fft_2.gif
The power spectrum, |Ck|2, of f1 is
fft_3.gif
Now consider

f2={0,0,0,0,1,2,3,2,1,0}
(3)
fft_4.gif
The power spectrum, |Ck|2, of f2 is
fft_5.gif
Examples 3
Consider two different images
fft2d_1.gif,fft2d_2.gif
The power spectra of the images 2 are shown as
fft2d_3.gif,fft2d_4.gif
They are identical each other even though the spatial representations are different. It can be indeed shown that the correlation between the two graphs of the power spectra is 100%.
Using the fft (Fast Fourier Transform) and ifft (Inverse Fourier Transform) functions in MATLAB/OCTAVE, remove the noise from the data above and restore the original signal.

Footnotes:

1
f(x)=

m=−∞ 
cm ei mx,     cm = 1





0 
f(x)eimx dx.
2 The power spectrum of f(x) is defined as
|Ck|2
where
f(x) =
Ck ei k x.



File translated from TEX by TTH, version 4.03.
On 21 Aug 2022, 22:51.