5 DTFT
5 DTFT
Representation of
Discrete-Time Signals
• Three useful representations of discrete-
time sequences in the transform domain:
- Discrete-time Fourier Transform
- Discrete Fourier Transform
- z Transform
Discrete-Time Fourier
Transform
• A discrete-time signal can be represented in
the frequency domain using discrete-time
Fourier transform.
• Therefore, the Fourier transform of a discrete
time sequence is called the discrete-time
Fourier transform (DTFT).
• Is a form of Fourier analysis that is
applicable to a sequence of values
Discrete-Time Fourier
Transform
• Definition - The discrete-time Fourier
transform (DTFT) X (e j ) of a sequence
x[n] is given by
j j n
X (e ) x[n]e
n
• In general, X ( e j )
is a complex function
of the real variable and can be written as
X (e j ) X re (e j ) j X im (e j )
Note:The DFT is one of the most powerful tools in digital signal processing which enables us to find the
spectrum of a finite-duration signal.
Discrete-Time Fourier
Transform
• X re (e j ) and X im (e j ) are, respectively,
the real and imaginary parts of X (e j ), and
are real functions of
• X (e j ) can alternately be expressed as
X (e j ) X (e j ) e j()
where
() arg{ X (e j )}
Discrete-Time Fourier
Transform
• X (e j ) is called the magnitude function
• () is called the phase function
• Both quantities are again real functions of
• In many applications, the DTFT is called
the Fourier spectrum
• Likewise, X (e j ) and () are called the
magnitude and phase spectra
Discrete-Time Fourier
Transform
• For a real sequence x[n], X (e j ) and X re (e j )
are even functions of , whereas, ()
and X im (e j ) are odd functions of
• Note: X (e j ) X (e j ) e j ( ( )2k )
X (e j ) e j()
for any integer k
• The phase function () cannot be
uniquely specified for any DTFT
Discrete-Time Fourier
Transform
• Unless otherwise stated, we shall assume
that the phase function () is restricted to
the following range of values:
()
called the principal value
Discrete-Time Fourier
Transform
• Example - The DTFT of the unit sample
sequence [n] is given by
j n
( ) [n]e [0] 1
n
• Example - Consider the causal sequence
n
x[n] [n], 1
Discrete-Time Fourier
Transform
• Its DTFT is given by
j n j n n j n
X (e ) [n]e e
n n 0
( e j )n 1
n 0 1 e j
j
as e 1
j 1 1
X (e ) j
1 e 1 cos j sin
1
X e
j 2
(1 cos ) 2 sin
2
1
1 2 cos 2
0.5 sin
arg( X (e j ) tan 1
1 0.5 cos
Discrete-Time Fourier
Transform
• The magnitude and phase of the DTFT
j j
X (e ) 1 /(1 0.5 e ) are shown
below 2
0.6
0.4
Phase in radians
0.2
1.5
Magnitude
1 -0.2
-0.4
0.5
-3 -2 -1 0 1 2 3 -3 -2 -1 0 1 2 3
w/p w/p
Discrete-Time Fourier
Transform
• The DTFT X (e j ) of a sequence x[n] is a
continuous function of
• It is also a periodic function of with a
period 2:
Discrete-Time Fourier
Transform
• Therefore
j j n
X (e ) x[n]e
n
represents the Fourier series representation
of the periodic function
• As a result, the Fourier coefficients x[n] can
be computed from X (e j )using the Fourier
integral
1 j j n
x[n] X (e )e d
2
Discrete-Time Fourier
Transform
• Inverse Discrete Fourier Transform:
1 j j n
x[n] X (e )e d
2
Discrete-Time Fourier
Transform
• Convergence Condition - An infinite
series of the form
j j n
X (e ) x[n]e
n
may or may not converge
Discrete-Time Fourier
Transform
x[n]
n
Discrete-Time Fourier
Transform
• Then
j j n
X (e ) x[n]e x[n]
n n
Amplitude
0 0
-1 -1
0 0.5 1 0 0.5 1
/ /
Magnitude Spectrum Phase Spectrum
1 5
Phase, radians
Magnitude
0.5 0
0 -5
0 0.5 1 0 0.5 1
/ /
DTFT Computation Using
MATLAB
• Note: The phase spectrum displays a
discontinuity of 2 at = 0.72
• This discontinuity can be removed using the
function unwrap as indicated below
Unwrapped Phase Spectrum
0
-1
-2
Phase, radians
-3
-4
-5
-6
-7
0 0.2 0.4 0.6 0.8 1
w/p