Vous êtes sur la page 1sur 20

MASSACHUSETTS INSTITUTE OF TECHNOLOGY

Department of Electrical Engineering and Computer Science


6.003: Signals and SystemsFall 2003
Problem Set 5 Solutions
Issued: October 22, 2003

Exercise for home study:


O&W 4.47
This problem examines the Fourier transform of a continuous-time LTI system with a
real, causal impulse response, h(t).
(a) To prove that H(j) is completely specified by <e{H(j)} for a real and causal h(t),
we explore the even part of a function, he (t).
By definition, he (t) = 12 h(t) + 12 h(t). Since h(t) = 0 for t < 0,

2he (t) for t > 0


he (t) for t = 0
h(t) =

0
for t < 0

(1)

Therefore, if we know He (j), then we can find both he (t) and h(t). If h(t) was not
causal, we couldnt determine h(t) from he (t) alone. We would need ho (t), the odd
part of h(t) also. What is He (j)? If h(t) is real then He (j) = <e{H(j)}. This is
shown below:
Z
Z
Z
1
1
jt
jt
He (j) =
h(t)e
dt +
h(t)ejt dt
he (t)e
dt =
2
2

Z
Z
Z
1
1
=
h(t)ejt dt +
h(t)ejt dt =
h(t) cos(t)dt = <e{H(j)}.
2
2

(b) Given we know <e{H(j)} is cos , we need to find h(t).


<e{H(j)} = He (j) = cos = 0.5ej + 0.5ej
.
he (t) = F 1 {cos()} = F 1 {0.5ej } + F 1 {0.5ej } = he1 (t) + he2 (t)
F

For he1 (t) we use the time shift property that for any to , ejto X(j) x(t to ).
Thus for he1 (t), to = 1. We have
he1 (t) = F 1 {0.5ej1 1} = 0.5(t + 1).
1

We find he2 (t) using the same method:


he2 (t) = F 1 {0.5ej1 1} = 0.5(t 1).
We combine the two signals to get he (t) = 0.5(t + 1) + 0.5(t 1). Finally, we know
because h(t) is causal, our final answer is h(t) = 2he (t) = (t 1).
(c) We need to show that a real and causal h(t) can be recovered from ho (t) everywhere
except at t = 0. By definition, ho (t) = 12 h(t) 21 h(t). Because h(t) is causal,
ho (t) = 21 h(t) for t > 0 and ho (t) = 21 h(t) for t < 0. This means that if we know
ho (t), we know h(t) = 2ho (t) when t > 0 and h(t) = 0 when t < 0. However, at t = 0 we
have a problem. ho (0) = 0 no matter what h(0) is. For example, if h(t) = (t)+(t1),
then ho (t) = 21 (t 1) + 21 (t 1). The delta function at t = 0 was lost when we
looked at the odd part of h(t).
If we do not have a singularity at t = 0, but instead has some arbitrary finite value at
t = 0, then the imaginary part of H(j) can be used to specify H(j). If we have

1 + u(t) for t = 0
h(t) =
(2)
u(t)
for t 6= 0
R
Then H(j) = u(t)ejt dt. The finite value of 1 at t = 0 has no area so it doesnt
show up under the integral.
R
R
R
R
Ho (j) = 21 (h(t)h(t))ejt dt = 21 ( h(t)ejt dt h(t)ejt dt) = j h(t) sin t.
This shows that Ho (j) = =m{H(j)}. This also shows that Ho (j) = 12 H(j)
1
H(j). Thus, H(j) can be recovered from Ho (j). Also the imaginary part can
2
be used to find ho (t) which can be used to find h(t) everywhere except at t = 0.
Problems to be turned in:
Problem 1 Consider the signal x(t) with spectrum depicted in Figure p4.28 (a) of O&W.
Sketch the spectrum of
y(t) = x(t) [cos(t/2) + cos(3t/2)] .
Solution:
To draw Y (j), the spectrum of y(t), we use the linearity and the multiplication property.
1
1
Thus, Y (j) = 2
[X(j) F {cos 2t }] + 2
[X(j) F {cos 3t2 }].
t
F {cos } = [( 0.5) + ( + 0.5)].
2
3t
F {cos } = [( 1.5) + ( + 1.5)].
2
Thus,
Y (j) =

1
1
X(j) ( 0.5) +
X(j) ( + 0.5)
2
2
2

1
1
X(j) ( 1.5) +
X(j) ( + 1.5).
2
2

1
(X(j( 0.5)) + X(j( + 0.5)) + X(j( 1.5)) + X(j( + 1.5)))
2
So, X(j) is convolved with 4 shifted impulse functions. Convolving a signal with a shifted
impulse function causes the signal to be shifted and replicated about the location on the
x-axis where the impulse function is located. Thus, centered at t = 1.5, 0.5, 0.5,and 1.5,
we replicate X(j). We also need to scale these 4 replications by a factor of 12 due to the
1
. This can be seen in the figure below:
multiplication of the constants, 2
=

X(j)
0.5

2.5 1.5

1.5

2.5

Problem 2 Consider the system depicted below:

a(t)
x(t)

b(t)
H(j)

p(t)
where x(t) =
given by

c(t)

q(t)

sin 2t
sin 4t
, p(t) = cos 2t, q(t) =
, and the frequency response of H(j) is
t
t

H(j)

(a) Let A(j) be the Fourier transform of a(t). Sketch and clearly label A(j).
(b) Let B(j) be the Fourier transform of b(t). Sketch and clearly label B(j).
(c) Let C(j) be the Fourier transform of c(t). Sketch and clearly label C(j).
(d) Compute the output c(t).
Solution:
(a) To find A(j), we use the multiplication property. Since a(t) = x(t) p(t), then
1
[X(j) P (j)]. We need to find X(j) and P (j). To find X(j) from
A(j) = 2
x(t), we recognize x(t) as being in O & Ws Table 4.2 Basic Fourier Transform Pairs.
It is a sinc function with W = 4. Thus,

1 for || < 4
X(j) =
(3)
0 for || > 4
X(j)
1

Because p(t) = cos 2t, P (j) = [( 2) + ( + 2)]. Since P (j) is two impulse
functions, the convolution of X(j) with P (j) results in the superposition of two
copies of X(j), one centered at = 2 and the other centered at = 2. The
resulting A(j) is shown below:

A(j)
1
0.5

(b) To find B(j), we use the convolution property. Thus, B(j) = A(j)H(j). A(j)
is a low pass filter and H(j) is a high pass filter. Multiplying the two together creates a bandpass filter. A(j) cuts off all frequencies for || > 6. H(j) cuts off all
frequencies for || < 2. The resulting signal, B(j) is shown below:

B(j)
1.0
0.5

(c) To find C(j), we need to convolve B(j) with Q(j).



1 for || < 2
Q(j) =
0 for || > 2

(4)

Q(j) is shown below:


Q(j)
1

Thus, C(j) can be drawn as shown below:

C(j)
1

(d) To compute c(t), we multiply b(t) with q(t). B(j) is the sum of two ideal frequencyshifted unity-gain filters. Filters in the frequency domain become sinc functions in the
time domain. In addition, a frequency shift of o corresponds to multiplying by ejo t
in the time domain. Hence,
sin 2t 1 j4t sin 2t
sin 2t
1
+ e
= cos 4t
.
b(t) = ej4t
2
t
2
t
t
Therefore
c(t) = b(t)q(t) = cos 4t

sin2 2t
.
2 t2

Problem 3 O&W 4.44. In addition to parts (a) and (b), answer the following .
(c) Find the differential equation relating the input and output of this system.
Solution:
(a) We are given the following equation that relates the output y(t) of a causal LTI system
to the input x(t).
Z
dy(t)
+ 10y(t) =
x( )z(t )d x(t)
(5)
dt

where

z(t) = et u(t) + 3(t).


We want to find the frequency response H(j) = Y (j)/X(j) of this system. To do
this we take the transform of each term in Equation 5. Because of linearity, to find the
Fourier transform of the entire equation, we take the Fourier transform of each term in
, we use the differentiation property to find that
the equation. For the first term, dy(t)
dt


dy(t)
F
F
jY (j).
dt
6

For the second term, we have 10Y (j). For the next term, the integral, we recognize
this integral as being the convolution of x(t) and z(t). Thus, the convolution property
tells us that
F

F {x(t) z(t)} X(j)Z(j).


Finally, x(t) becomes X(j). The new equation in the frequency domain is
jY (j) + 10Y (j) = X(j)Z(j) X(j).
Algebraic manipulations are used to separate out Y (j) on the left side of the equation
and separate out X(j) on the right side of the equation. We then find
H(j) =

Z(j) 1
Y (j)
=
X(j)
10 + j

(6)

We insert the function Z(j). By linearity, F {z(t)} = F {et u(t)} + F {3(t)}. The
Fourier transform for each of the terms can be found in O & Ws Table 4.2.
Z(j) =

4 + 3j
1
+ 3. =
1 + j
1 + j

This can be plugged into Equation( 6) to give


H(j) =

3 + 2j
Y (j)
=
X(j)
(10 + j)(1 + j)

(7)

(b) The impulse response can be found by doing a partial fraction expansion of H(j) as
found in Equation( 7).
H(j) =

3 + 2j
A
B
17/9
1/9
=
+
=
+
.
(10 + j)(1 + j)
10 + j 1 + j
10 + j 1 + j

The inverse Fourier transform of the last two terms can be determined from Table 4.2
of O & W to give:


1 t 17 10t
u(t).
h(t) =
e + e
9
9
(c) To find the differential equation relating the input to the output we go back to Equation 7 and rewrite it as
H(j) =

Y (j)
3 + 2j
=
.
2
X(j)
(j) + 11j + 10

After cross-multiplying we get


7

10Y (j) + 11jY (j) + (j)2 Y (j) = 3X(j) + 2jX(j).


Using the differentiation property, we do an inverse Fourier transform to get the differential equation
10y(t) + 11

d2 y(t)
dx
dy(t)
+ 11
= 3x(t) + 2 .
2
dt
dt
dt

Problem 4 O&W 5.21 (c), (g)


Solution:
(c) We need to compute the Fourier transform of x[n] =
the analysis equation as shown below:

1 |n|
u[n
3

2]. To do this we use

n
2  n

1 j2
X
X
e
1 j
1
1
1 j
jn
9
X(e ) =
e
=
e
=
=
1 j 1 e
3
3
3
1 3e
1 13 ej
n=
n=2
j

(g) We need to compute the Fourier transform of x[n] = sin( 2 n) + cos(n). To do this we
use Table 5.2 in O & W to find the Fourier transform of each term and then sum the
two transforms for x[n].

 o X

n
=
(( 2l) ( + 2l))
F sin
2
j l=
2
2

F {cos(n)} =

(( 1 2l) + ( + 1 2l))

l=

X(ej ) =

X
X

(( 2l)(+ 2l))+
((12l)+(+12l))
j l=
2
2
l=

Problem 5 The following are Fourier transforms of discrete-time signals. Determine the
signal corresponding to each transform.
(a) X(ej ) = 4ej4 ej + 6 + 8ej3 16ej11
(b)
(
1,
X(ej ) =
0,
(c) X(ej ) =

0 || < 4 ,

< || < 2
4

1 + 3ej3
1 + 14 ej
8

< ||

Solutions:
(a) When the Fourier transform is a sum of exponentials, often the easiest way to find x[n]
is to use the analysis equation
X(ej ) =

x[n]ejn

n=

to match each term to what the particular value of n is. For example, in this problem
we can see that the first term, 4ej4 can only result from the n = 4 term. Thus, we
can rewrite the equation as
X(ej ) = x[4]ej(4) + x[1]ej(1) + x[0]ej0 + x[3]ej(3) + x[11]ej(11) .
We match terms to find
x[4] = 4, x[1] = 1, x[0] = 6, x[3] = 8, x[11] = 16.
x[n] = 0 for all other n.
(b) X(ej ) for this problem looks like:
X(ej )
1

2 4 0

The Fourier transform for this signal as the sum of 3 ideal low pass filters with two
of them frequency-shifted to = 3
and = 3
. Table 5.1 in O & W shows that a
4
4
frequency-shift corresponds to multiplication by an exponential in the time domain:
F

X(ej(o ) ) ejo n x[n].


Thus, in the time domain, we can write this as the sum of three sinc functions each
with W = 4 and with two of them multiplied by the appropriate exponential. This
gives



sin 4 n sin 4 n
sin( 4 n)
n
3 sin
3
j 3
n
j
n
4
x[n] = e 4
+
+e 4
= 2 cos( n) + 1
.
n
n
n
4
n
9

(c) This Fourier transform looks similar to the Fourier transform for an u[n] in Table 5.2
of O & W. We will manipulate it to look more like that. First, we separate it into two
terms so that
X(ej ) =

3ej3
1
+
= X1 (ej ) + X2 (ej ).
1 + 14 ej 1 + 14 ej

By linearity we can solve for the time signal for each transform and then x[n] =
x1 [n] + x2 [n]. X1 (ej ) matches to the transform pair mentioned above in Table 5.2 with
a = 41 . Thus,
 n
1
u[n].
x1 [n] =
4

X2 (ej ) matches to the transform pair in Table 5.2 also except for the numerator term
of 3ej3 . This numerator term corresponds to a scaling of 3 and a time shift of 3.
Thus,
 n3
1
x2 [n] = 3
u[n 3].
4

Summing the two terms, we get


 n
 n3
1
1
x[n] =
u[n] + 3
u[n 3].
4
4

Problem 6 Let X(ej ) denote the Fourier transform of the signal x[n] depicted below.
2

2
5

x[n]

4
1

(a) Find X(1) = X(ej0 ).


(b) Find such that ej X(ej ) is real.
R
(c) Evaluate X(ej )d.

(d) Find X(ej ).

10

8
n

3
1

(e) Determine and sketch the signal whose Fourier transform is <e{X(ej )}.
(f) Evaluate each of the following integrals:
Z
|X(ej )|2 d
(f.1)

(f.2)



dX(ej ) 2


d d

Solutions:

(a) We use the analysis equation:

j0

X(1) = X(e ) =

x[n]ej0n = 2.

n=

(b) If x[n] is real and even, X(ej ) is real and even. Since this signal is real, we just need
to make it even. If we time shift x[n] 2 steps to the left, it will be real and even. A
left time shift of 2 corresponds to multiplying the frequency spectrum by ej2 . = 2
will make the frequency spectrum real (and even).
(c) We use the synthesis equation:
Z

X(e )d = 2

1
2

X(e )e

j0

= 2x[0] = 2.

(d) We use the analysis equation:


j

X(e ) =

x[n]e

jn

n=

x[n](1)n = 10

n=

(e) <e{X(ej )}, which is the real (and even) part of X(ej ), is the Fourier transform of
the even part of the time signal. Thus, we need to sketch xe [n] = 0.5x[n] + 0.5x[n].
This is shown below:

11

xe [n]
1
6

4
3

7
n

0.5

0.5

(f) To evaluate the following integrals we use Parsevals relations.


(f.1) With Parsevals relation, we know that

1
|x[n]| =
2
n=
2

|X(ej )|2 d.

Since we know x[n], we can use it in Parsevals relation to find the quantity we
are interested in. Thus,

X
|x[n]|2 = 18
n=

and

|X(ej )|2 d = 18 2 = 36.

(f.2) To use Parsevals relation again, we need to define a new variable, Y (ej ) =
j )
j dX(e
. Then according to Table 5.1 of O&W,
d
F

dX(ej )
j
d

= F 1 {Y (ej )} = y[n] = nx[n].

Thus,
Z




 Z

Z
dX(ej ) 2
dX(ej ) 2
j 2

d =
j
d = 2 1
|Y (e )| d
d

d
2

= 2

|y[n]| = 2

n=

n=

12

|nx[n]|2 = 2 96 = 432.

Problem 7 Answer the questions asked in O&W 5.24 for the following two signals.

x1 [n]
1

3
5

5
0

2
x2 [n]
1

1
2

2
1

Solution:
(a) (a.1) We want to know if <e{X1 (ej )} = 0. This is true only if x1 [n] is purely real and
odd or purely imaginary and even. Looking at the signal, x1 [n] we see that it is
real and odd, or xe [n] = 0.5x[n] + 0.5x[n] = 0. Yes, <e{X1 (ej )} = 0.
(a.2) Because this signal is real and odd, it is purely imaginary. =m{X1 (ej )} 6= 0.
(a.3) The real part of a Fourier transform corresponds to the part of the time signal
which is real and even and the part of the time signal which is odd and imaginary.
By multiplying X1 (ej ) by ej , we can shift the signal in time. Thus, we can
shift by the correct number of units to make the signal even. Looking at the graph
of x1 [n] reveals that a time shift of = 2 will cause the signal to be even and
thus, the resulting Fourier transform, ej2 X1 (ej ) will be real.

13

(a.4) We can use the synthesis equation as follows:


 Z

Z
1
j
j j0
X(e )e d = 2x[0] = 0.
X(e )d = 2
2

R
Yes, X(ej )d = 0.

(a.5) By definition, the Fourier transform of any discrete sequence is periodic, so X(ej )
is periodic.
(a.6) Since x1 [n] is periodic,

2
X(e ) =
2ak
k
N
k=
j

where ak =
that

1
N

n=<N >

x[n]ej N kn . Plugging = 0 into the equation above shows

j0

X(e ) =

k=


2
2ak k .
N

From this equation, we can see that all terms will be zero except possibly 2a0 (0).
If a0 = 0 then X(ej0 ) = 0. Using the formula for ak above we see that,
1 X
x[n] = 0.
8 n=<N >

a0 =

We could also note that a0 is the DC average of the signal and from the graph we
can see that the DC average is zero. So, yes, X(ej0 ) = 0.
(b)(b.1) To determine if <e{X(ej )} = 0, we need to see if x2 [n] is real or imaginary and
even or odd. From the graph, we can see that it is real and even. Thus, X(ej )
is real and even. So <e{X(ej )} 6= 0.
(b.2) This means that =m{X(ej )} = 0.
(b.3) Since X(ej ) is already real, = 0.
(b.4) Using the same strategy employed for x1 [n], we see that x2 [0] 6= 0 so
0.
(b.5) By definition, all X(ej ) are periodic so X2 (ej ) is periodic.

X(ej )d 6=

(b.6) X2 (ej0 ) is the DC component of the signal. We can see that the DC component
is equal to zero so this condition is met. That is,
j0

X2 (e ) =

n=

14

x[n] = 0.

Problem 8 Consider the same question as asked in O&W 5.27 (a) but with X(ej ) as
depicted below
X(ej )

and with
p[n] = cos n cos(n/2).
Solution:
To sketch W(ej ), we use the multiplication property,
F

p[n]x[n] = w[n] W (ej ) =

1
P (ej ) X(ej ).
2

This allows us to use circular convolution to solve the problem. X(ej ) is as shown above
and
j

P (e ) =

(( 2l) + ( + 2l))

l=

l=

((

2l) + ( + 2l)).
2
2

The area underP


the impulses at = 2l is equal to 2 not just becauseP
the impulses

from the term l= ( 2l) overlap with the impulses from the term
l= ( +
2l).
These impulses and the impulses at = 2 2l cause replicas of X(ej ) that are centered
at these s. The resulting W (ej ) is shown below:

15

W (ej )
1

3
2
5
4

3
4

3
2

5
4

3
4

0.5

Problem 9 Answer the same questions as asked in O&W 5.30 (b) with x[n] as given in
that problem and for each of the following LTI unit sample responses:
(a) h[n] =

sin n/16 sin(n/12)

n
n

(b) h[n] =

sin(n/8) sin(n/2)
2 n2

Solution:
We are given that x[n] = sin( n
) 2 cos( n
).
8
4
(a) To determine y[n], we will use the convolution property. That is, we will compute
Y (ej ) = X(ej )H(ej ) and then we can use the synthesis equation to determine y[n]
from Y (ej ). To find H(ej ) for the given h[n], we use Table 5.1 and Table 5.2 in
O&W and find H(ej ) = H1 (ej ) H2 (ej ) where


1
for || < 16
j
H1 (e ) =
(8)

0 for 16 < || <


and
j

H2 (e ) =

1
for || < 12

0 for 12
< || <

Subtracting H2 (ej ) from H1 (ej ) yields



1 for
j
H(e ) =
0 for
H(ej ) is a bandpass filter whose gain is 1.
16

3
48
3
48

< || <
> || >

4
48
4
48

(9)

(10)

X(ej ) is found from Table 5.2:


X(ej ) =

X
(( 2l)(+ 2l))2
(( 2l)+(+ 2l)).
j l=
8
8
4
4
l=

It is clear that the bandpass filter doesnt allow this x[n] through it and hence Y (ej ) =
0 and y[n] = 0.
(b) Again we will use the convolution property to find Y (ej ) = X(ej )H(ej ) and then
find y[n] from Y (ej ). X(ej ) is the same as the previous problem. However,
sin( n
) sin n
8
2
= h1 [n]h2 [n].
h[n] =
2
2
n
We can use the multiplication property to find H(ej ). Here,
H(ej ) =

1
H1 (ej ) H2 (ej ).
2

h1 [n] and h2 [n] are sinc functions, thus,


j

H1 (e ) =
j

H2 (e ) =

1
for || < 8
0 for 8 < || <

(11)

1
for || < 2
0 for 2 < || <

(12)

The convolution of these two signals is to be calculated.


H(ej ) is shown below:
H(ej )
1/8

5
3
8
8

17

3
8

5
8

Multiplying X(ej ) with H(ej ) gives the following spectrum for Y (ej ):

Y (ej )

8j

4 8

8j

The above figure shows that y[n] is just a scaled version of x[n]. Thus,
 n  1
 n 
1
y[n] = sin
cos
.
8
8
4
4

Problem 10 Consider a system consisting of the cascade of two LTI systems as depicted
below
z[n]
x[n]

System 1

System 2

System 1 is LTI and has a unit-sample response of


 n
1
u[n].
h[n] =
4
System 2 is LTI, and we know that if the input is
1
x[n] = [n] + [n 1]
2
the output is
y[n] = 10[n] [n 1].
In the following parts, please show your work.
18

y[n]

(a) What is the frequency response X(ej ) of the overall system ?


(b) Find the difference equation for the overall system.
(c) Find the impulse response of the overall system.
Solution:

(a) For this cascade of two LTI systems,


H(ej ) = H1 (ej )H2 (ej ).
Taking a Fourier transform of h1 [n] = ( 41 )n u[n] gives
H1 (ej ) =

1
.
1 0.25ej

For H2 (ej ), we take Fourier transforms of z[n] and y[n] as given above and then
(ej )
H2 (ej ) = YZ(e
j ) . This gives
H2 (ej ) =

10 ej
.
1 + 0.5ej

Multiplying the two terms gives the overall frequency response as


H(ej ) =

1
10 ej
.
1 0.25ej 1 + 0.5ej

(b) To find the difference equation for the whole system, we need to multiply Y (ej ) by
the denominator of the above equation and multiply Z(ej ) by the numerator of the
above equation. That is
Y (ej )(1 + 0.25ej 0.125ej2 ) = X(ej )(10 ej ).
Then,
Y (ej ) = 0.25ej Y (ej ) + 0.125ej2 Y (ej ) + 10X(ej ) 1ej X(ej ).
Because of linearity, we take the inverse Fourier transform of each term, noting that
multiplication of ejno in the frequency domain corresponds to a shift of no in the
time domain. Thus, the difference equation is
y[n] = 0.25y[n 1] + 0.125y[n 2] + 10x[n] x[n 1].

19

(c) To find the impulse response, h[n], we rewrite the equation for H(ej ) found in (a) as
the sum of two first order systems and do term by term matching to find what the
numerator values should be for each term. That is,
H(ej ) =

10 ej
A
B
=
+
j
j
j
(1 0.25e )(1 + 0.5e )
(1 0.25e ) (1 + 0.5ej )

B(1 0.25ej )
A(1 + 0.5ej )
+
(1 0.25ej )(1 + 0.5ej ) (1 0.25ej )(1 + 0.5ej )
A + B + (0.5A 0.25B)ej )
.
=
(1 0.25ej )(1 + 0.5ej )

Matching terms gives us A = 2 and B = 8. Then the inverse transform for each term
can be determined from Table 5.2:
H(ej ) =

8
2
+
j
(1 0.25e ) (1 + 0.5ej )

which gives,
h[n] = 2(0.25)n u[n] + 8(0.5)n u[n].

20

Vous aimerez peut-être aussi