Consider the DTFT of a discrete-time (DT) signal
xn
x
n
. Assume
xn
x
n
is of finite duration N
N (i.e., an
NN-point signal).
Xω=∑
n
=0N−1xne(−j)ωn
X
ω
n
N
1
0
x
n
ω
n
(1)
where
Xω
X
ω
is the continuous function that is indexed by the
real-valued parameter
−π≤ω≤π
ω
. The other function,
xn
x
n
, is a discrete function that is indexed by
integers.
We want to work with
Xω
X
ω
on a computer. Why not just sample
Xω
X
ω
?
Xk=X2πNk=∑
n
=0N−1xne(−j)2πkNn
X
k
X
2
N
k
n
N
1
0
x
n
2
k
N
n
(2)
In
Equation 2 we sampled at
ω=2πNk
ω
2
N
k
where
k=01…N−1
k
0
1
…
N
1
and
Xk
X
k
for
k=0…N−1
k
0
…
N
1
is called the
Discrete Fourier Transform (DFT) of
xn
x
n
.
The DTFT of the image in Figure 2 is written as follows:
Xω=∑
n
=0N−1xne(−j)ωn
X
ω
n
N
1
0
x
n
ω
n
(3)
where
ωω is any
2π
2
-interval, for example
−π≤ω≤π
ω
.
where again we sampled at
ω=2πNk
ω
2
N
k
where
k=01…M−1
k
0
1
…
M
1
. For example, we take
M=10
M
10
. In the following section we will discuss in
more detail how we should choose
MM, the number of samples in
the
2π
2
interval.
(This is precisely how we would plot
Xω
X
ω
in Matlab.)
Given NN (length of
xn
x
n
), choose
M≫N
≫
M
N
to obtain a dense sampling of the DTFT (Figure 4):
Choose MM as small as
possible (to minimize the amount of computation).
In general, we require
M≥N
M
N
in order to represent all information in
xn ,
n=0…N−1
n
n
0
…
N
1
x
n
Let's concentrate on
M=N
M
N
:
xn
↔
DFT
Xk
x
n
↔
DFT
X
k
for
n=0…N−1
n
0
…
N
1
and
k=0…N−1
k
0
…
N
1
numbers
↔
N numbers
numbers↔N numbers