Professional Documents
Culture Documents
Contents
Motivation
Discrete-Time Fourier Series (DTFS) allowed a periodic signal with a period of N samples to be
reconstructed using N harmonically related exponential basis functions
X 2π 1 X 2π
x [n] = c̄k e jk N n c̄k = x [n] e −jk N n
N
k=<N> n=<N>
However, not all signals of practical interest are periodic. Therefore, we will develop a
frequency-domain representation for both periodic and aperiodic signals that is known as the
Discrete-Time Fourier Transform (DTFT)
1/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
X∞
x̃ [n] = · · · + x [n + (2M + 1)] +x [n] + x [n − (2M + 1)] + . . . = x [n + k (2M + 1)] (1)
| {z } | {z }
k=−∞
left-shifted versions right-shifted versions
of x [n] of x [n]
Since x̃ [n] is periodic, we can express it using its DTFS. Therefore, we have
X 2π 1 X 2π
x̃ [n] = c̄k e jk 2M+1 n c̄k = x̃ [n] e −jk 2M+1 n
2M + 1
k=<2M+1> n=<2M+1>
Note that we must choose an interval comprising one period of x̃ [n]. We select the range from
−M to M containing 2M + 1 samples. Then,
M M
X 2π 1 X 2π
x̃ [n] = c̄k e jk 2M+1 n c̄k = x̃ [n] e −jk 2M+1 n
2M + 1
k=−M n=−M
4/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
We can replace x̃ [n] by x [n] in the analysis equation because n is restricted to the range
−M ≤ n ≤ M. Moreover, as we increase M, the signal x̃ [n] would start to resemble x [n] more
and more. However, the magnitude of c̄k would decrease proportionally because of the factor
2M + 1.
With all these remarks, we can construct the following expression by multiplying both sides of
the analysis equation by 2M + 1
M
2π
X
(2M + 1) c̄k = x [n] e −jk 2M+1 n
n=−M
5/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
At this point, we must analyze the parameter of angular frequency Ω0 that is written as
2π
Ω0 =
2M + 1
The DTFS synthesis and analysis equation for x̃ [n] consequently become
M
X M
X
x̃ [n] = c̄k e jkΩ0 n (2M + 1) c̄k = x [n] e −jkΩ0 n
k=−M n=−M
6/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
−π ≤ Ω ≤ π
Lastly, by defining X (Ω) = (2M + 1) c̄k , we obtain the following relationship that is known as the
analysis equation of the DTFT
∞
X
X (Ω) = x [n] e −jΩn
n=−∞
7/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
We will multiply and divide the right-hand side of the last equation by 2π. Hence,
M
1 X 2π
x [n] = lim x̃ [n] = lim 2π c̄k e jk 2M+1 n
M→∞ M→∞ 2π
k=−M
8/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
∞
1 X 2π 2π
x [n] = lim x̃ [n] ≈ lim X (Ω) e jk 2M+1 n
M→∞ 2π M→∞ 2M + 1
k=−∞ | {z }
c̄k
I 2π
2M+1
= Ω0 → ∆Ω
∞
1 X 2π
x [n] = lim x̃ [n] ≈ (∆Ω)X (Ω) lim e jk 2M+1 n
M→∞ 2π M→∞
k=−∞
2π
I Since k → ±∞, the quantity kΩ0 = k becomes a continuous variable Ω
2M+1
∞
1 X
x [n] = lim x̃ [n] ≈ X (Ω) e jΩn ∆Ω
M→∞ 2π
k=−∞
9/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
∞
1 X
x [n] = lim x̃ [n] ≈ X (Ω) e jΩn ∆Ω
M→∞ 2π
k=−∞
I As we have seen before, Ω ranges from −π to π. Moreover, taking the limit as M → ∞ transforms
∆Ω into dΩ and the sum becomes an integral. Thus,
1 π
Z
x [n] = X (Ω) e jΩn dΩ
2π −π
This integral shows that x [n] can be reconstructed by a continuous sum of complex exponentials at
harmonic frequencies that are infinitesimaly close to each other. This is the synthesis equation of the
DTFT
10/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
The synthesis equation, or Inverse DTFT, allows to reconstruct the time-domain representation
from X (Ω)
Z π Z
1 1
x [n] = X (Ω) e jΩn dΩ = X (Ω) e jΩn dΩ (3)
2π −π 2π <2π>
11/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
Notation
The following short-hand notation is used frequently for the analysis equation
X (Ω) = X e jΩ = F {x [n]} (4)
For the synthesis or inverse DTFT, we have
x [n] = F −1 {X (Ω)}
As happens with the CTFT, we sometimes use the more compact notation
F
x [n] ↔ X (Ω)
F
x [n] ↔ X e jΩ
(Nice to know :]) The use of the notation X e jΩ is as common as X (Ω) in the DTFT. The latter form
emphasizes that X e jΩ is generally an irrational function of Ω. This will become clearer after studying Z
Transform
12/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
Notation
Note that we use Ω for the DTFT, and we reserve the variable ω for the CTFT. Do not
mix up both variables!
I X (Ω) is a continuous periodic representation with fundamental period 2π. X (jω) is, in
general, non-periodic. Therefore, Ω and ω represent two different phenomena in the
frequency domain
13/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
Alternatively, if the signal x [n] is an energy signal (i.e., square-summable), its DTFT will always
exist
∞
2
X
|x [n]| < ∞
n=−∞ 14/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
In general, a periodic signal is not absolutely summable. However, we can compute a DTFT for
such sequences if we allow singularity functions to appear in the transform.
Consider a periodic signal x [n] with period N samples. Its frequency domain representation is
given by its DTFS coefficients c̄k as
N−1
2π
X
x [n] = c̄k e jk N n
k=0
2π
Since Ω0 = N , we have
N−1
X
x [n] = c̄k e jkΩ0 n
k=0
15/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
∞
N−1
!
X X
jkΩ0 n −jΩn
X (Ω) = c̄k e e
k=0 n=−∞
| {z }
F {e jkΩ0 n }
The inner summation corresponds to the DTFT of the complex exponential e jkΩ0 n , which is found
to be
∞
X
F e jkΩ0 n = 2π
δ (Ω − kΩ0 − 2πm)
m=−∞
Correspondingly,
N−1
X ∞
X
X (Ω) = 2π c̄k δ (Ω − kΩ0 − 2πm)
k=0 m=−∞
17/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
18/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
The structure of the last equation is not as simple as we would like. To simplify it, recall that
X (Ω) is periodic with period 2π. Therefore, we can select a set of N coefficients within this
interval. We do so by choosing m = 0. In this case, we define
N−1
X
X̄ (Ω) = 2π c̄k δ (Ω − kΩ0 ) (6)
k=0
19/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
Figure: Computation of the DTFT of a periodic DT signal by means of its DTFS coefficients
[Alkin, 2014]
20/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
Motivation
DTFT DTFS
DT aperiodic and
applies to DT periodic signals
periodic signals
continuous and
nature discrete and N-periodic
2π-periodic
number of
infinite finite (N elements)
elements
21/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
Motivation
The result of the DTFT of a DT signal is a continuous signal X (Ω) which is a 2π-periodic
function of the frequency Ω
I Storing the DTFT representation of a DT signal of a computer is impossible because of the
continuous nature of Ω
The DTFS representation of a periodic signal x [n] contains has N different coefficients c̃k . This is
suitable for computer implementation, but it only works for periodic signals
For the analysis of discrete-time aperiodic signals, it is convenient to have a Fourier
transform that is also discrete. This can be accomplished by virtue of the Discrete
Fourier Transform (DFT) as long as the signal under consideration has a finite number
of relevant samples
22/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
Let x [n] be an aperiodic signal with N relevant samples (N length) arranged in the interval
0 ≤ n ≤ N − 1. Hence,
x̃ [n] = · · · + x [n + N] + x [n] + x [n − N] + . . .
X ∞
= x [n − mN]
m=−∞
23/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
x̃ [n] = · · · + x [n + N] + x [n] + x [n − N] + . . .
X ∞
= x [n − mN]
m=−∞
Since x̃ [n] is periodic, we can compute its DTFS coefficients c̃k by
1 X 2π
c̃k = x̃ [n] e −jk N n
N
n=<N>
and we write
DTFS
x̃ [n] ←→ c̃k
Nevertheless, if we select the period 0 ≤ n ≤ N − 1, x̃ [n] = x [n] and we get
N−1
1 X 2π
c̃k = x [n] e −jk N n
N n=0
24/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
N−1
1 X 2π
c̃k = x [n] e −jk N n
N n=0
The DTFS coefficients c̃k can be understood as a periodic signal with period N. Correspondingly,
we extract one period of these coefficients
ck = c̃k k = 0, . . . , N − 1
| {z }
one period
Notice that the signal x [n] is represented by the set of coefficients ck which has N elements
N−1
2π
X
x [n] = ck e jk N n
k=0
25/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
N−1
2π
X
x [n] = ck e jk N n
k=0
X [k] := Nck
we get
N−1
2π
X
X [k] = x [n] e −jk N n
n=0
N−1
1 X 2π
x [n] = X [k] e jk N n
N
k=0
26/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
The inverse DFT enables us to compute x [n] from its DFT representation through
N−1
1 X 2πk
x [n] = X [k] e j ( N )n n = 0, . . . , N − 1 (9)
N
k=0
27/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
Notation
28/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
Consider an N-length aperiodic signal x [n] defined in the interval 0 ≤ n ≤ N − 1. Its DTFT is
given by
∞
X N−1
X
X (Ω) = x [n] e −jΩn = x [n] e −jΩn
n=−∞ n=0
n=0
29/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
n=0 n=0
For an N-length signal x [n], we can obtain the DFT X [k] by sampling the DTFT X (Ω) at
uniformly spaced frequencies Ω = Ωk = 2πk/N where k = 0, . . . , N − 1 [Sadiku, 2015]
30/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
I DFT → the transform is computed only at frequencies that are an integer multiple of 2π/N
31/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
The DFT can be understood as a sampled version of the DTFT. Moreover, the DFT can be
understood as to looking at the DTFT placed behind a picket fence with N equally spaced openings
32/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
Example 7.1
Consider the signal
x [n] = u [n] − u [n − 10]
Its DTFT is given by
∞
X sin (5Ω) −j4.5Ω
X (Ω) = (u [n] − u [n − 10]) e −jΩn = e
n=−∞
sin (0.5Ω)
33/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
Zero-Padding
Sometimes we want to have more detail of the DTFT in the DFT (for instance, at which
frequencies the magnitude spectrum shows local minima)
Then, we would like to have more openings in the picket fence behind which we are looking at
the DTFT. This can be done by zero-padding the original signal
35/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
Zero-Padding
Zero-Padding
Zero-padding is the process of extending an N-length signal by adding M zero-amplitude samples before
computing its DFT
(
x [n] n = 0, . . . , N − 1
q [n] = (11)
0 n = N, . . . , N + M − 1
The DFT of the extended signal q [n] becomes
N+M−1 N−1
X 2π X 2π
Q [k] = q [n] e −jk N+M n = x [n] e −jk N+M n (12)
n=0 n=0
The relationship between the DTFT of x [n] and the DFT of q [n] is
36/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
Zero-Padding Example
Figure: Effect of the zero-padded version q [n] of x [n] with M = 10 samples [Alkin, 2014]
37/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
n=0
N−1
1 X 2π
x [n] = X [k] e jk N n
N
k=0
Continuous-Time
CTFS CTFT
Type of Signal Continuous and periodic Continuous, periodic and aperiodic
Analysis R∞
c̄k = T1 <T > x (t) e −jkω0 t dt X (jω) = −∞ x (t) e −jωt dt
R
Equation
Frequency-
domain Discrete and generally aperiodic Continuous and generally aperiodic
representation
40/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
Discrete-Time
DTFS DTFT DFT*
Discrete, periodic and Discrete, periodic** and
Type of Signal Discrete and periodic
aperiodic aperiodic of finite-length
X [k] =
Analysis c̄k = X (Ω) = PN−1 2π kn
1
P −jk 2π n P∞ −jΩn n=0 x [n] e −j N k=
Equation N n=<N> x [n] e
N
n=−∞ x [n] e
0, . . . , N − 1
Frequency-
domain Discrete and periodic with Continuous and periodic
Discrete and periodic
representa- period N with period 2π
tion
* The fast Fourier Transform (FFT) is not a transform itself! It is an algorithm to compute a DFT
** In this case, the DFT corresponds to one period of the DTFS coefficients of the DT periodic signal.
Hence, a DFT algorithm can be used to compute DTFS coefficients for any DT periodic signal x [n]
41/ 42
S. A. Dorado-Rojas DT Fourier Transform
Introduction Derivation Discrete-Time Fourier Transform DTFT for Periodic Signals Discrete Fourier Transform Summary of Fourier Representations
References I
Alkin, O. (2014).
Signals and Systems - A MATLAB Integrated Approach.
CRC Press.
Sadiku, M. (2015).
Signals and Systems - A primer with MATLAB.
CRC Press.
42/ 42
S. A. Dorado-Rojas DT Fourier Transform