This document discusses the discrete Fourier transform (DFT) and its inverse, the inverse discrete Fourier transform (IDFT). It defines the DFT and IDFT formulas, introduces twiddle factors, and shows how to represent DFTs and IDFTs using matrices. Examples are provided to calculate DFTs and IDFTs both directly from the definition and using matrix representations.
8. DFT with Twiddle Factor
• The forward DFT, frequency domain output in the range 0≤k≤N-1 is
given by:
𝐗𝐗 𝒌𝒌 = �
𝒏𝒏=𝟎𝟎
𝑵𝑵−𝟏𝟏
𝒙𝒙(𝒏𝒏)𝑾𝑾𝑵𝑵
𝒏𝒏𝒏𝒏
𝑾𝑾𝑵𝑵
𝒏𝒏𝒏𝒏
= 𝒆𝒆
−𝒋𝒋𝒋𝒋𝒋𝒋𝒋𝒋𝒋𝒋
𝑵𝑵
Twiddle Factor
13. Matrix Relations
can be expanded as NXN DFT matrix
=
−
−
−
−
−
−
=
∑
2
)
1
(
)
1
(
2
)
1
(
)
1
(
2
4
2
)
1
(
2
1
1
0
1
1
1
1
1
1
1
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
k
nk
N
W
W
W
W
W
W
W
W
W
W
∑
−
=
1
0
N
k
nk
N
W
29. IDFT with Twiddle Factor
• While the Inverse DFT, time domain output, again, in the
range 0≤k≤N-1 is denoted by
𝒙𝒙 𝒏𝒏 =
𝟏𝟏
𝑵𝑵
�
𝒌𝒌=𝟎𝟎
𝑵𝑵−𝟏𝟏
𝐗𝐗(𝒌𝒌)𝑾𝑾𝑵𝑵
−𝒏𝒏𝒏𝒏