Professional Documents
Culture Documents
The development in terms of vector spaces was geared towards handling discrete-time
aperiodic infinite length sequences. We now develop the discrete-time Fourier transform,
which is the representation of aperiodic infinite length sequences with finite energy (i.e.,
sequences in ℓ2 (Z)) in terms of complex exponentials. We start by first considering its
connection to finite length sequences.
Suppose we have an arbitrary sequence x ∈ ℓ2 (Z). Then we consider a finite length
sequence x̆M such that,
x[n] −M + 1 ≤ n ≤ M − 1
x̆M [n] = (4.1)
0 else.
Clearly, x̆M [n] is a finite length sequence which is zero outside an interval of length 2(M −
1) + 1 = 2M − 1. Therefore we can represent x̆M using the discrete-Fourier transform
(DFT) as
M
X −1 M
X −1
−jk 2π n 2π
X̆M [k] = x̆[n]e N = x[n]e−j N kn (4.2)
n=−M +1 n=−M +1
41
42 Chapter 4.
but we are still uncertain about whether this is a well-defined function. To examine this,
let us define:
+∞
X M
X −1
XM (ejω ) = x̆M [n]e−jωn = x[n]e−jωn
n=−∞ n=−M +1
2π
where ω0 = N. Now, using our synthesis representation of DFT, we can write,
P −1 j 2π
N1 Mk=−M +1 X̆M [k]e
N
kn
−N1 − 1 ≤ n ≤ N1 − 1
x̆M [n] = (4.5)
0 else.
2π 1 ∆
Now, by defining ∆ = N, N = 2π gives for n ∈ {−N1 − 1, · · · , N1 − 1}
1 X
x̆M [n] = X̆M ejω0 k ej∆kn ∆
2π
k
yielding:
Z
1
x[n] = X ejω ejωn dω =⇒ synthesis (4.6)
2π 2π
X
X ejω = x[n]e−jωn =⇒ analysis (4.7)
n
4.1. DTFT as a limit of DFS 43
Now, in doing the conversion from XM (ejω ) to X(ejω ) , we inherently assumed the
existence of
M
X −1
lim x[n]e−jωk n
M →∞
n=−M +1
which means that we have convergence in a mean-square sense. Moreover, this means that
there could be points ω ∈ [0, 2π] for which the summation diverges, but the measure of
this point-set is zero.
which is guaranteed to be periodic and well-defined for absolutely summable sequences x[n].
This can be seen from the fact that
N
X −1 N
X +∞
−1 X +∞
X
x̃[n] = x[n + ℓN ] = x[m] < ∞.
n=0 n=0 ℓ=−∞ m=−∞
44 Chapter 4.
Hence
jω
X̃[k] = X e
(4.11)
ω= 2π
N
k
which means that the Fourier series coefficients sample the DTFT. As N grows, the
samples become finer and the DFS coefficients converge to the DTFT. This can be seen
by
N −1
1 X j 2π k j 2π kn
x̃[n] = X e N e N .
N n=0
2π 1 ∆
By defining ∆ = N we can see that N = 2π yielding
N −1
1 X jk∆ jn(k∆)
x̃[n] = X e e ∆
2π
n=0
which by Riemann summation yields
Z
N →∞ 1
x̃[n] −→ X ejω ejωn dω = x[n]. (4.12)
2π 2π
However, this has several caveats. First the sequences {Vω }ω∈R are uncountably infinite
in number. Second, Vω ∈ / ℓ2 (Z), and so in order to representing sequences in ℓ2 (Z), we are
using sequences which are technically outside the space ℓ2 (Z). To define orthogonality of
{Vω }ω∈R sequences, we need to introduce a quirky mathematical entity called the Dirac
delta function δ(t) defined through its operation under integration
Z +∞ Z +∞
δ(t − τ )f (t) dt = f (τ ) , δ(t)dt = 1, (4.13)
−∞ −∞
where f (t) is an arbitrary integrable function.
6. Planchard-Parseval equality:
Z π
X DT F T 1
∗
x [n]y[n] ←→ X ∗ ejω Y ejω dω
n
2π −π
DT F T 1
or hx, yi ←→ hX, Yi
2π
7. Modulation property:
Z π
1 DT F T
x[n]y[n] ←→ X ejθ Y ej(ω−θ) dθ
2π −π
Proof:
Z π
X X 1
y[n]x[n]e −jωn
= y[n] X ejθ ejθn dθ e−jωn
n n
2π −π
Z π X Z π
1 1
= X ejθ y[n]e−j(ω−θ)n dθ = X ejθ Y ej(ω−θ) dθ
2π −π n
2π −π
Z π
1
= X ∗ ejθ Y ejθ dθ
2π −π
48 Chapter 4.
N −1
1 X 2π
x̃[n] = X̃[k]ej N kn =⇒ synthesis.
N
k=0
The similarity in the analysis and synthesis equations are quite striking. If we denote
DF S
x̃[n] ←→ X̃[k] as the time-domain and Fourier-domain representations, then we notice
that for a periodic signal ỹ[n] defined as
and
ỹ[n] = ỹ[n + rN ], r ∈ Z,
we have
N
X −1 N
X −1 N
X
2π 2π (a) 2π ′
Ỹ [k] = ỹ[n]e−j N kn = X̃[N − n]e−j N kn = X̃[n′ ]e−j N k(N −n )
n=0 n=0 n=1
N −1 N −1
(b) X 2π ′ 1 X 2π ′
= X̃[n′ ]e−j N k(N −n ) = N · X̃[n′ ]ej N kn = N x̃[k],
N
n′ =0 n′ =0
2π
where (a) follows by defining n′ = N −n and (b) follows form the fact that X̃[N ]e−j N k(N −N ) =
2π
X̃[0]e−j N (N −0) . Therefore, we see that if
DF S
x̃[n] ←→ X̃[k],
then
DF S
X̃[N − n] ←→ N x̃[k], (4.17)
giving us duality. Therefore, the time-reversed (over a period) Fourier series coefficient
if used as a time-domain signal yields the corresponding frequency-domain representation
as the original time-domain signal!
4.6. Relationships between Fourier transforms 49
N −1
1 X 2π
x̃[n] = X̃[k]ej N kn
N
k=0
N
X −1
2π
X̃[k] = x̃[n]e−j N kn .
n=0
yielding a pulse-train representation of the periodic signal’s DTFT. Since we are interested
only in ω ∈ [0, 2π] then the impulses in DTFT representation fall exactly at ω = 2π N k, k =
0, . . . , N − 1, with coefficients X̃[k], which is exactly the DFS representation giving a
complete equivalence between the DTFT and DFS representation of periodic signals. This
shows the applicability and generality of the DTFT.
N −1
1 X 2π
x[n] = X[k]ej N kn , n = 0, . . . , N − 1
N
k=0
Now
+∞
X N
X −1
jω
−jωn
X e = x[n]e = x[n]e−jωn ,
n=−∞ n=0
50 Chapter 4.
which means that the DFT coefficients are only sampling the DTFT at ω = 2π N k, k =
0, . . . , N − 1. The DFT representation shows that we need only these N samples (and
not the DTFT for all ω ∈ [0, 2π]) to represent x[n] uniquely. In the same sense, one
can think of finding the DTFT by zero-padding the finite length sequence to obtain the
representation, and the sampling property implies that it is a redundant representation.
N
X −1
2π
X[k] = x[n]e−j N kn
n=0
4.9. Magnitude and Phase representation 51
N −1
1 X 2π
x[n] = X[k]ej N kn .
N
k=0
This yields roughly cN 2 operations to compute a DFT, where c is some constant which
depends on the complexity of a multiplication (and addition) operation. The FFT is not
another transform but just an efficient way to compute the DFT by using the inherent
structure in the operations. For N ’s which are powers of 2, i.e. N = 2Q for some Q ∈ N,
one can do the DFT with roughly c′ N log N operations, giving a significant reduction in
computational complexity for large N .
Therefore, in order to use this, one might need to zero-pad a signal to compute its FFT.
For example if we are given an N -length sequence x[n], we get a zero-padded sequence x′ [n]
by making it an M -length sequence for M = 2Q > N for Q ∈ N. Even though we get M
instead of N Fourier coefficients, it is clear that we do not get extra “information” about
the signal. This artificial increase in resolution could have been recreated by just using
the N -point transform. If we denote x and x′ as the N -length and M -length vectors,
respectively, and have X ∈ CN , X′ ∈ CM as their Fourier representations, then
X = WN x X′ = WM x′ , (4.19)
2π
where WN is the N -length DFT, i.e. (WN )p,q = e−j N pq , and WM is the corresponding
2π
M -length DFT, (WM )p,q = e−j M pq .
Since,
1 H ′ 1 H ′ x
x = WN X , x = W X = , (4.20)
N M M 0
Therefore, given X one can generate X′ as we suspected. However, for visualization the
interpolated version with zero-padding might be more useful.
In many ways, this perhaps gives us qualitatively the most important information about
the structure of a signal. However, in many cases, the phase is equally important and can
not be ignored.
Magnitude: The magnitude is just the absolute values of the Fourier representation
(coefficients). Depending on its characteristics we can classify it into:
• Linear phase signal: The phase increases or decreases linearly with frequency.
Such responses are useful for designing filters as we will see soon.
000000
111111
000000
111111
N
000000
111111
000000
111111
N
11111
00000
00000000
11111111
L − (P − 1)N
000000
111111
000000
111111
000000
111111
000000
111111
000000
111111 00000000
11111111
00000000
11111111
piece 1 piece (P − 1) piece P
One can also have overlapping pieces such that M < N is the step for each block, which
yields the spectogram
piece 1
00000
11111
00000
11111
00000
11111
00
11
N
00000
11111
00000
11111
00
11
1111
0000
000000
00000
11111
11111
00
11
0000
N
M
piece 2
N
X −1 N
X −1
2π 2π
S[k, m] = Xm [k] = xm [n]e−j N kn + x[n + (m − 1)N ]e−j N kn . (4.23)
n=0 n=0
L
The whole transform is of length N · M , and can be represented using a matrix transform.