You are on page 1of 31

6.

Frequency-Domain Analysis of Discrete-


Time Signals and Systems
6.1. Properties of Sequence exp(jen) (1.3.3)
6.2. Definition of Discrete-Time Fourier Series (3.6)
6.3. Properties of Discrete-Time Fourier Series (3.7)
6.4. Definition of Discrete-Time Fourier Transform (5.0-5.2)
6.5. Properties of Discrete-Time Fourier Transform (5.3-5.7)
6.6. Frequency Response (3.2, 3.8, 5.4)
6.7. Linear Constant-Coefficient Difference Equations (5.8)
6.1. Properties of Sequence exp(jen)
6.1.1. Periodicity of Sequence exp(jen)
The sequence exp(jen) is periodic if and only if e can be written
as
,
N
k
2t = e (6.1)
where k and N are integers. It can be shown that N is a period of the
sequence. If N>0, and k and N have no factors in common, N will be
the fundamental period of the sequence. Note that exp(jet) is always
periodic.
Example. Determine the periodicity of the following signals:
(1) x(t)=cos(et).
(2) x(t)=exp(jet).
(3) x(n)=cos(en).
Example. Find the fundamental period of the following sequence:
6.1.2. Frequency of Sequence exp(jen)
eis referred to as the frequency of sequence exp(jen). It is equal
to the variation of the phase en in a sampling interval, and describes
how fast the phase en changes.
exp(je
1
n)=exp(je
2
n) if and only if e
1
e
2
=a multiple of 2t. Note
that exp(je
1
t)=exp(je
2
t) if and only if e
1
=e
2
.
Example. Several pairs of signals are given next. Determine if the
two signals in each pair are identical:
(1) x
1
(t)=cos(e
1
t) and x
2
(t)=cos(e
2
t), where e
1
=e
2
.
. n
4
3
j exp n
3
2
j exp ) n ( x
|
.
|

\
|
t
+
|
.
|

\
|
t
= (6.2)
(2) x
1
(t)=exp(je
1
t) and x
2
(t)=exp(je
2
t), where e
1
=e
2
.
(3) x
1
(n)=cos(e
1
n) and x
2
(n)=cos(e
2
n), where e
1
=e
2
.
Two concepts need to be clarified: (1) n is the normalized time. If t
and T are the physical time and the sampling interval, respectively,
then
n=t/T. (6.3)
(2) e is actually the normalized frequency. Assume that O and T are
the physical frequency and the sampling interval, respectively. Then,
e=OT. (6.4)
6.2. Definition of Discrete-Time Fourier Series
6.2.1. Definition
Any sequence x(n) with period N can be represented by a discrete-
time Fourier series, i.e.,
, kn
N
2
j exp ) k ( X ) n ( x
N k

) ( =
|
.
|

\
|
t
= (6.5)
where X(k) is given by
X(k) is called the spectrum of x(n).
Note that X(k) has period N.
From (6.5) and (6.6), we can see that a periodic sequence can be
decomposed into a set of elementary sequences. Any of the
elementary sequences, X(k)exp(j2tkn/N), has the frequency 2tk/N
and the coefficient X(k).
6.2.2. Derivation
The right side of (6.5) is
. kn
N
2
j exp ) n ( x
N
1
) k ( X
N n

) ( =
|
.
|

\
|
t
=
(6.6)
. ) n n ( k
N
2
j exp
N
1
) n ( x
) n n ( k
N
2
j exp
N
1
) n ( x
kn
N
2
j exp n k
N
2
j exp ) n ( x
N
1
kn
N
2
j exp ) k ( X
1 N n
n n
1 N
0 k
N n N k
N k N n
N k


+
= '

=
) ( = ' ) ( =
) ( = ) ( = '
) ( =
(

'

t
'
=
(

'

t
'
=
|
.
|

\
|
t
(

|
.
|

\
|
'
t

'
=
|
.
|

\
|
t
(6.7)
Since
,
1 N n n n , 0
n n , 1
) n n ( k
N
2
j exp
N
1
1 N
0 k

+ s
'
<
=
'
=
(

'

=
(6.8)
(6.7) is equal to x(n).
Example. Determine the Fourier series coefficients for each of the
following signals:
(1) x(n)=sin(2tMn/N), where M and N have no common factors and
M<N.
(2) x(n)=1+sin(2tn/N)+3cos(2tn/N)+cos(4tn/N+t/2), where N>5.
(3) x(n) is shown in figure 6.1.
0
Figure 6.1. A Periodic Sequence.
n
1
6.3. Properties of Discrete-Time Fourier Series
6.3.1. Linearity
Lets assume that x
1
(n) and x
2
(n) have the same period, and a
1
and
a
2
are two arbitrary constants. If x
1
(n)X
1
(k) and x
2
(n)X
2
(k), then
M
M N
N

a
1
x
1
(n)+a
2
x
2
(n)a
1
X
1
(k)+a
2
X
2
(k). (6.9)
6.3.2. Shifting
If x(n)X(k), then
, kn
N
2
j exp ) k ( X ) n n ( x
0 0
|
.
|

\
|
t
(6.10)
where n
0
is an arbitrary integer.
If x(n)X(k), then
), k k ( X n k
N
2
j exp ) n ( x
0 0

|
.
|

\
|
t
(6.11)
where k
0
is an arbitrary integer.
6.3.3. Reversal
If x(n)X(k), then
x(n)X(k). (6.12)
From (6.12), the following conclusions can be drawn:
(1) x(n) even X(k) even.
(2) x(n) odd X(k) odd.
6.3.4. Conjugation
If x(n)X(k), then
x
*
(n)X
*
(k). (6.13)
From (6.13), the following conclusions can be drawn:
(1) Im[x(n)]=0 X(k)=X
*
(k).
(2) Re[x(n)]=0 X(k)=X
*
(k).
(3) Im[X(k)]=0 x(n)=x
*
(n).
(4) Re[X(k)]=0 x(n)=x
*
(n).
6.3.5. Symmetry
If x(n)X(k), then
). k ( x
N
1
) n ( X
(6.14)
6.3.6. Convolution
Let x
1
(n) and x
2
(n) have the same period N. If x
1
(n)X
1
(k) and
x
2
(n)X
2
(k), then
). k ( X ) k ( NX ) m n ( x ) m ( x
2 1
N m
2 1

) ( =
(6.15)
This sum is called the periodic convolution sum of x
1
(n) and x
2
(n).
Let x
1
(n) and x
2
(n) have the same period N. If x
1
(n)X
1
(k) and
x
2
(n)X
2
(k), then
. ) m k ( X ) m ( X ) n ( x ) n ( x
N m
2 1 2 1
) ( =
(6.16)
This sum is the periodic convolution sum of X
1
(k) and X
2
(k).
6.3.7. Parsevals Equation
If x(n)X(k), then
. ) k ( X ) n ( x
N
1
N k
2
N n
2

) ( = ) ( =
=
(6.17)
6.4. Definition of Discrete-Time Fourier Transform
A sequence x(n) can be represented by a discrete-time Fourier
integral, i.e.,
( ) , d n j exp ) ( X
2
1
) n ( x
2
}
t
e e e
t
=
(6.18)
where X(e) is given by
(6.19)
( ). n j exp ) n ( x ) ( X
n

=
e = e
(6.19) is called the discrete-time Fourier transform. (6.18) is called
the inverse discrete-time Fourier transform. X(e) is referred to as the
spectrum of x(n).
Note that X(e) has period 2t.
(6.18) and (6.19) show that a sequence can be decomposed into a
set of elementary sequences. Any elementary sequence has the form
X(e)exp(jen)de/(2t), which has the frequency e and the coefficient
X(e)de/(2t).
6.4.1. Derivation of Discrete-Time Fourier Transform
The right side of (6.18) is
( )
( ) ( )
}

}
t

= '
t
e e
(

'
e
'
t
=
e e e
t
2
n
2
d n j exp n j exp ) n ( x
2
1
d n j exp ) ( X
2
1

| | . d ) n n ( j exp
2
1
) n ( x
n
2

= '
t
e
'
e
t
'
=
| | ), n n ( d ) n n ( j exp
2
1
2

'
o = e
'
e
t
}
t
(6.21)
(6.20) becomes
). n ( x ) n n ( ) n ( x
n
=
'
o
'

= '
(6.22)
6.4.2. Convergence of Discrete-Time Fourier Transform
The series in (6.19) converges when x(n) is absolutely summable.
That is, there exists a finite constant B such that
Since
(6.20)
(6.23)
. B | ) n ( x |
n
s

=
We should note that this condition is sufficient for the convergence
of the series in (6.19) but unnecessary.
Example. Find the Fourier transforms of the following sequences:
(1) x(n)=o(n).
.
N | n | 0,
N | n | , 1
x(n) (2)

>
s
=
(3) x(n)=a
n
u(n), 0<|a|<1.
(4) x(n)=a
n
u(n1), |a|>1.
(5) x(n)=a
|n|
, 0<|a|<1.
Example. Prove
(6.24) ). , [ over
| | 0,
| | , 1
n
n) sin(
0
0
0
t t

e > e
e s e

t
e
Example. Find the Fourier transform of x(n)=cos(e
0
n).
Example. Assume that x(n) has period N and X'(k) is the Fourier
series coefficient of x(n). Show that the Fourier transform of x(n) is
. k
N
2
2 ) k ( X ) ( X
k

=
|
.
|

\
|
t
e to
'
= e (6.26)
6.5. Properties of Discrete-Time Fourier Transform
6.5.1. Linearity
If x
1
(n)X
1
(e) and x
2
(n)X
2
(e), then
a
1
x
1
(n)+a
2
x
2
(n)a
1
X
1
(e)+a
2
X
2
(e), (6.27)
where a
1
and a
2
are two arbitrary constants.
( ). m 2 2 ) n j exp(
m
0 0

=
t e e to e
(6.25)
Example. Prove
6.5.2. Differentiation
If x(n)X(e), then
jnx(n)dX(e)/de. (6.28)
6.5.3. Shifting
If x(n)X(e), then
x(nn
0
)X(e)exp(jen
0
), (6.29)
where n
0
is an arbitrary integer.
If x(n)X(e), then
x(n)exp(je
0
n)X(ee
0
), (6.30)
where e
0
is an arbitrary real number.
Example. Let x(n)X(e). Prove
6.5.4. Scaling
If x(n)X(e), then
), m ( X ) ( Y
m of multiple a n , 0
m of multiple a n ), m / n ( x
) n ( y e = e

=
=
=
(6.32)
where m is a nonzero integer.
Letting m=1 in (6.32), we can obtain the reversal property of the
discrete-time Fourier transform, i.e.,
x(n)X(e). (6.33)
From (6.33), the following conclusions can be drawn:
.
2 of multiple a ), 0 ( ) 0 ( X
2 of multiple a ,
e 1
) ( X
) ( Y ) m ( x ) n ( y
j
n
m

t = e o t
t = e

e
= e =
e
=

(6.31)
(1) x(n) even X(e) even.
(2) x(n) odd X(e) odd.
6.5.5. Conjugation
If x(n)X(e), then
x
*
(n)X
*
(e). (6.34)
From (6.34), the following conclusions can be drawn:
(1) Im[x(n)]=0 X(e)=X
*
(e).
(2) Re[x(n)]=0 X(e)=X
*
(e).
(3) Im[X(e)]=0 x(n)=x
*
(n).
(4) Re[X(e)]=0 x(n)=x
*
(n).
6.5.6. Convolution
If x
1
(n)X
1
(e) and x
2
(n)X
2
(e), then
x
1
(n)-x
2
(n)X
1
(e)X
2
(e). (6.35)
This property is proved as follows:
( )
( )
( )
( ) ). ( X ) ( X m j exp ) m ( x ) ( X
m j exp ) ( X ) m ( x
n j exp ) m n ( x ) m ( x
n j exp ) m n ( x ) m ( x
2 1
m
1 2
m
2 1
m n
2 1
n m
2 1
e e = e e =
e e =
e =
e
(

=
(6.36)
Example. Assume x
1
(n)=a
n
u(n), 0<|a|<1, x
2
(n)=b
n
u(n), 0<|b|<1 and
a=b. Find x
1
(n)-x
2
(n).
If x
1
(n)X
1
(e) and x
2
(n)X
2
(e), then
, d ) ( X ) ( X
2
1
) n ( x ) n ( x
2
2 1 2 1
}
t
u u e u
t
(6.37)
where the integral is called the periodic convolution integral of X
1
(e)
and X
2
(e).
Example. Find the Fourier transform of
. d | ) ( X |
2
1
| ) n ( x |
2
2
n
2
}

=
e e
t
=
(6.39)
This property is proved as follows:
.
n
) 2 / n sin( ) 4 / n 3 sin(
) n ( x
2 2
t
t t
=
6.5.7. Parsevals Equation
If x(n)X(e), then
(6.38)
( )
( )
. d | ) ( X |
2
1
d ) ( X ) ( X
2
1

d n j exp ) n ( x ) ( X
2
1

d n j exp ) ( X
2
1
) n ( x
) n ( x ) n ( x | ) n ( x |
2
2
2
*
2
n
*
n
*
2
n
*
n
2
} }
}

}

t t
t

=
t

=
e e
t
= e e e
t
=
e
(

e e
t
=
(

e e e
t
=
=
(6.40)
Figure 6.2. Fourier Transform of x(n).
2
3
t/2 t/2 t t e
|X(e)|
t t
e
ZX(e)
2t
2t

Example. Let the Fourier transform of x(n) be given in figure 6.2.


Determine whether x(n) is periodic, real, even and of finite energy.
6.6. Frequency Response
A linear time-invariant discrete-time system can be characterized
by the frequency response, which is defined as the Fourier transform
of the impulse response.
Note that the frequency response has period 2t.
6.6.1. Response to exp(je
0
n)
Let x(n)=exp(je
0
n) be the input of a linear time-invariant discrete-
time system. Then, the output of the system is
y(n)=exp(je
0
n)H(e
0
), (6.41)
where H(e) is the frequency response of the system.
Proof. Let h(n) be the impulse response of the system. Then,
| |
). ( H ) n j exp( ) m j exp( ) m ( h ) n j exp(
) m n ( j exp ) m ( h ) n ( y
0 0
m
0 0
m
0
e e = e e =
e =

=
(6.42)
When the input is a weighted sum of signals with form exp(je
0
n),
the output can be determined according to (6.41) and the linearity of
the system.
6.6.2. Response to a Periodic Signal
Consider a linear time-invariant discrete-time system. If the input
is periodic, the output has the same period. The relation between the
input and the output is expressed as
. k
N
2
H ) k ( X ) k ( Y
|
.
|

\
|
t
=
(6.43)
X(k) and Y(k) are the Fourier series coefficients of the input and the
output, respectively. H(e) is the frequency response of the system. N
is the period.
Proof. x(n) can be expressed as
. kn
N
2
j exp ) k ( X ) n ( x
N k

) ( =
|
.
|

\
|
t
= (6.44)
According to (6.41) and the linearity of the system, we obtain
and thus (6.43) is derived.
6.6.3. Response to a General Signal
The I/O relation of a linear time-invariant discrete-time system can
be expressed by the frequency response, i.e.,
Y(e)=X(e)H(e), (6.46)
, kn
N
2
j exp k
N
2
H ) k ( X ) n ( y
N k

) ( =
|
.
|

\
|
t
|
.
|

\
|
t
= (6.45)
where X(e) and Y(e) are the Fourier transforms of the input and the
output, respectively, and H(e) is the frequency response.
Proof. x(n) can be expressed as
( ) . d n j exp ) ( X
2
1
) n ( x
2
}
t
e e e
t
= (6.47)
According to (6.41) and the linearity of the system, we obtain
and thus (6.46) is derived.
(6.46) can also be directly derived from the convolution property
of the Fourier transform.
Example. Determine the output of a linear time-invariant discrete-
time system. It is known that the input and the frequency response of
the system are x(n)=cos(e
0
n) and H(e)=sin[sin(e)], respectively.
( ) , d n j exp ) ( H ) ( X
2
1
) n ( y
2
}
t
e e e e
t
= (6.48)
Example. A distortionless transmission system is described by
y(n)=Ax(nn
0
). (6.49)
Find the frequency response.
Example. The frequency response can be expressed in terms of its
amplitude and phase, i.e.,
H(e)=|H(e)|e
jZH(e)
. (6.50)
The minus derivative of ZH(e) is called the group delay. Show that
the group delay of a distortionless transmission system is a constant.
Example. The frequency response of an ideal low-pass filter is
(6.51)
over period [t, t). Find the impulse response.

e > e
e s e
= e
0
0
| | 0,
| | , 1
) H(
Example. An ideal filter is best in frequency selectivity. However,
it is noncausal, and its impulse response is oscillatory. These defects
can be overcome by using a non-ideal filter. The frequency response
of a typical non-ideal low-pass filter is
,
) j exp( a 1
a 1
) ( H
e

= e
(6.52)
where 0<a<1. Find the impulse response.
Example. Two ideal low-pass filters have the frequency responses
(6.53)
and
(6.54)

e > e
e s e
= e
1
1
1
| | 0,
| | , 1
) ( H

e > e
e s e
= e
2
2
2
| | 0,
| | , 1
) ( H
over period [t, t), respectively. e
1
+e
2
<t here. The two filters can
be used to construct an ideal band-stop filter, as shown in figure 6.3.
Explain how it works.
Figure 6.3. Implementation of a Band-Stop Filter.
6.7. Linear Constant-Coefficient Difference Equations
The zero-state response of a linear constant-coefficient difference
equation can be found using the Fourier transform.
x(n)
e(n) r(n)
y(n)
(1)
n
H
2
(e)
(1)
n
H
1
(e)
y
2
(n)
y
1
(n)
Example. A causal, stable discrete-time system is given by
y(n)0.5y(n1)=x(n), (6.55)
where x(n)=0.25
n
u(n) and y(1)=2. Find the zero-input response, the
zero-state response and the complete response.
First, using the method in section 5.5, we obtain the zero-input
response
y
zi
(n)=0.5
n
. (6.56)
Then, let us consider the zero-state response. The zero-state response
satisfies (6.55), i.e.,
y
zs
(n)0.5y
zs
(n1)=x(n). (6.57)
Taking the Fourier transform of (6.57), we obtain
.
) j exp( 25 . 0 1
1
) ( Y ) j exp( 5 . 0 ) ( Y
zs zs
e
= e e e (6.58)
From (6.58), we obtain
.
) j exp( 25 . 0 1
1
) j exp( 5 . 0 1
2
) ( Y
zs
e

+
e
= e (6.59)
The inverse Fourier transform of Y
zs
(e) is
y
zs
(n)=(20.5
n
0.25
n
)u(n). (6.60)
The complete response is the sum of the zero-input response and the
zero-state response, i.e.,
y(n)=0.5
n
+(20.5
n
0.25
n
)u(n). (6.61)
Example. A stable discrete-time system is given by
y(n)0.5y(n1)=x(n). (6.62)
Find the impulse response.
The zero-state response satisfies (6.62), i.e.,
y
zs
(n)0.5y
zs
(n1)=x(n). (6.63)
Taking the Fourier transform of (6.63), we obtain
.
) j exp( 5 . 0 1
1
) ( X
) ( Y
zs
e
=
e
e
(6.64)
Thus,
.
) j exp( 5 . 0 1
1
) ( H
e
= e (6.65)
The inverse Fourier transform of H(e) is
h(n)=0.5
n
u(n). (6.66)

You might also like