7.7 The Discrete Fourier Transform 177
memory. Therefore we have to introduce a suitable sampling function also in the
frequency domain. For this purpose consider an infinite periodic sequence of impulses
in the frequency domain spaced f (i.e. ω/2π ) apart as shown in Fig. 7.7b. It
can be shown that the inverse transform of this sequence is another sequence of
impulses in the time domain, spaced T
0
= 1/f apart. This can be appreciated
readily from (7.11) and (7.13), although here we are going from the frequency domain
to the time domain rather than vice versa.
If the (periodic) spectrum F(ω)in Fig. 7.7a is multiplied by the frequency domain
sampling function of Fig. 7.7b then the convolution theorem (7.10a) implies that the
samples of f(t)will be formed into a periodic sequence with period T
0
as illustrated
in Fig. 7.7c. It is convenient if the number of samples used to represent the spectrum is
the same as the actual number of samples taken of f(t). Let this number be K. (There
is a distortion introduced by using a finite rather than infinite number of samples.
This will be addressed later.) Since the time domain has samples spaced T apart, the
duration of sampling is KT seconds. It is pointless sampling the time domain over
a period longer than T
0
since no new information is added. Simply other periods
are added. Consequently the optimum sampling time is T
0
, so that T
0
= KT . Thus
the sampling increment in the frequency domain is f = 1/T
0
= 1/KT .Itisthe
inverse of the sampling duration. Likewise the total unambiguous bandwidth in the
frequency domain is K × f = 1/T, covering just one segment of the spectrum.
With those parameters established we can now consider how the Fourier transform
operation can be modified to handle digital data.
7.7.2
Discrete Fourier Transform Formulae
Let the sequence φ(k),k = 0,...K − 1 be the set of K samples taken of f(t)over
the sampling period 0 to T
0
. The samples correspond to times t
k
= kT .
Let the sequence F(r),r = 0,...K − 1 be the set of samples of the frequency
spectrum. These can be derived from the φ(k) by suitably modifying (7.8a). For
example, the integral over time can be replaced by the sum over k = 0toK −1, with
dt replaced by T , the sampling increment. The continuous function f(t)is replaced
by the samples φ(k) and ω = 2πf is replaced by 2πrf, with r = 0,...K − 1.
Thus ω = 2πr/T
0
. The time variable t is replaced by kT = kT
0
/K, k = 0,...K−1.
With these changes (7.8a) can be written in sampled form as
F(r) = T
K−1
k=0
φ(k)W
rk
,r = 0,...K − 1 (7.15)
with
W = e
−j2π/K
. (7.16)
Equation (7.15) is known as the discrete Fourier transform (DFT). In a similar manner
a discrete inverse Fourier transform (DIFT) can be derived that allows reconstruction