Docsity

Continuous - Signals and Systems - Solved Exam, Exams of Signals and Systems Theory

Toggle sidebar
bg1
EECS 120 Fall 2004
Midterm 1 Solutions
•The exam is for one hour and 50 minutes.
•The maximum score is 100 points. The maximum score for each part of each problem is
indicated.
•The exam is closed-book and closed-notes. Calculators, computing, and communication
devices are NOT permitted.
•Two double-sided sheets of notes are allowed. These should be legible to normal eyesight,
i.e. the lettering should not be excessively small.
•No form of collaboration between students is allowed.
1. (10 points) State whether the following are true or false. In each case, give a brief
explanation. A correct answer without a correct explanation gets 2 points. A correct
answer with a correct explanation gets 5 points.
(a) Let x(t) be a continuous time signal. Let y1(t), y2(t), and y3(t) denote the respective
ouputs of a causal linear time invariant system to the inputs x(t), x2(t), and x3(t).
Then y3(t) can be determined from y1(t) and y2(t).
(b) If x[n] is a nonnegative sequence with discrete time Fourier transform X(ejω), then
∞
X
n=−∞
x[n] = 1
2πZ2π
|X(ejω )|dω .
Solution :
(a) False. Consider for example X(jω) = (1 if |ω|≤ 1
0 otherwise . Then, to find out y3(t)
we would need to know something about the transfer function of the system for
frequencies in the range 2 <|ω|<3. However the given information can at most tell
us about the transfer function in the range of frequencies |ω|≤ 2.
(b) False. Take x[n] = δ[n]+δ[n−1]. Then X(ejω ) = 1+e−j ω. We have P∞
n=−∞ x[n] = 2.
Note that |1 + e−jω |<2 except when ωis an integer multiple of 2π. Thus
1
2πZ2π
|X(ejω )|dω < 2,
so the claimed equality cannot hold.
2. (10 points)
pf3
pf4
pf5

Partial preview of the text

Download Continuous - Signals and Systems - Solved Exam and more Exams Signals and Systems Theory in PDF only on Docsity!

EECS 120 Fall 2004

Midterm 1 Solutions

  • The exam is for one hour and 50 minutes.
  • The maximum score is 100 points. The maximum score for each part of each problem is indicated.
  • The exam is closed-book and closed-notes. Calculators, computing, and communication devices are NOT permitted.
  • Two double-sided sheets of notes are allowed. These should be legible to normal eyesight, i.e. the lettering should not be excessively small.
  • No form of collaboration between students is allowed.
    1. (10 points) State whether the following are true or false. In each case, give a brief explanation. A correct answer without a correct explanation gets 2 points. A correct answer with a correct explanation gets 5 points.

(a) Let x(t) be a continuous time signal. Let y 1 (t), y 2 (t), and y 3 (t) denote the respective ouputs of a causal linear time invariant system to the inputs x(t), x^2 (t), and x^3 (t). Then y 3 (t) can be determined from y 1 (t) and y 2 (t). (b) If x[n] is a nonnegative sequence with discrete time Fourier transform X(ejω), then

∑^ ∞ n=−∞

x[n] =

2 π

∫

2 π

| X(ejω) | dω.

Solution :

(a) False. Consider for example X(jω) =

{ 1 if | ω |≤ 1 0 otherwise

. Then, to find out y 3 (t) we would need to know something about the transfer function of the system for frequencies in the range 2 <| ω |< 3. However the given information can at most tell us about the transfer function in the range of frequencies | ω |≤ 2. (b) False. Take x[n] = δ[n]+δ[n−1]. Then X(ejω) = 1+e−jω. We have ∑∞ n=−∞ x[n] = 2. Note that | 1 + e−jω^ |< 2 except when ω is an integer multiple of 2π. Thus

1 2 π

∫

2 π

| X(ejω) | dω < 2 ,

so the claimed equality cannot hold.

  1. (10 points)

Let x[n] and y[n] be periodic with period 3, with

x[n] =

  

1 if n = − 1 2 if n = 0 1 if n = 1

and

y[n] =

  

− 1 if n = − 1 2 if n = 0 1 if n = 1

Let z[n] be the periodic sequence of period 3 that is the periodic convolution of x[n] and y[n], i.e. z[n] =

∑

l∈< 3 >

x[l]y[n − l].

Determine z[n]. Solution : We have z[n] =

∑

l∈< 3 >

x[l]y[n − l].

Hence

z[−1] = x[−1]y[0] + x[0]y[−1] + x[1]y[−2] = 1 · 2 + 2 · (−1) + 1 · 1 = 1 , z[0] = x[−1]y[1] + x[0]y[0] + x[1]y[−1] = 1 · 1 + 2 · 2 + 1 · (−1) = 4 , z[1] = x[−1]y[2] + x[0]y[1] + x[1]y[0] = 1 · (−1) + 2 · 1 + 1 · 2 = 3.

Since z[n] is periodic with period 3, this determines z[n].

  1. (10 points)

Let Λ(t) =

{ 1 − | t | if | t |≤ 1 0 otherwise

Let x(t) =

∑^ ∞ n=−∞

Λ(t − 2 n) cos(ω 0 t).

Find the Fourier transform of x(t). Hint : The function z(t) =

{ 1 if | t |≤ (^12) 0 otherwise

  1. (5 + 5 points) Consider the causal linear time-invariant system whose input and output are related by the difference equation

y[n] +

y[n − 1] = x[n] + x[n − 2] − 3 x[n − 5].

(a) Find the transfer function of the system. (b) Find the output of this system for the input

x[n] = (−1)n^ for all n.

Solution :

(a) The corresponding discrete time Fourier transform equation is

(1 +

e−jω)Y (ejω) = (1 + e−^2 jω^ − 3 e−^5 jω)X(ejω).

This yields the transfer function of the system as

H(ejω) = Y (ejω) X(ejω)

1 + e−^2 jω^ − 3 e−^5 jω 1 + 13 e−jω^

(b) The input given is the discrete time pure tone

x[n] = ejπn^.

Substituting ω = π in the transfer function, we see the corresponding output must be

y[n] = H(ejπ)x[n] = 1 + e−^2 jπ^ − 3 e−^5 jπ 1 + 13 e−jπ^

ejπn^ =

(−1)n^ =

(−1)n^ ,

for all n.

  1. (5 + 5 + 5 points) Consider the continuous time system whose output y(t) for the input x(t) is given by y(t) = x(t − (

∫ (^) t+

t

x(u)du)^2 ).

Is it :

(a) linear? (b) causal? (c) BIBO stable?

In each case explain your answers briefly. There should be no ambiguity about which part of the problem you are answering. A correct answer with an incorrect explanation will get at most 2 points. Solution

(a) No, the system is not linear. The input x 1 (t) = 1 has corresponding output y 1 (t) = 1 and the input x 2 (t) = u(t) has corresponding output y 2 (t) = u(t − 1). However, the input x(t) = 1 + u(t) has corresponding output

y(t) = 1 + u(t −

) 6 = y 1 (t) + y 2 (t).

(b) No, the system is not causal. If x 1 (t) = x 2 (t) for t < t 0 , the corresponding outputs y 1 (t) and y 2 (t) respectively need not satisfy y 1 (t) = y 2 (t) for t < t 0. For example, consider x 1 (t) =| t | u(−t) and x 2 (t) =| t | u(−t) + u(t). We have x 1 (t) = x 2 (t) for t < 0. The respective corresponding outputs have y 1 (− 12 ) = x 1 (− 12 − ( 18 )^2 ) = 3364 and y 1 (− 12 ) = x 1 (− 12 − ( 58 )^2 ) = 5764. These are not equal. (c) Yes, the system is BIBO stable. For an input x(t) satisfying | x(t) |< B, we have, for all t, that | y(t) |=| x(t − (

∫ (^) t+

t

x(u)du)^2 ) |< B.

  1. (7 + 8 points) Let

x 1 (t) =

{ 1 if | t |≤ (^12) 0 otherwise

and x 2 (t) =

{ t if 0 ≤ t ≤ 1 0 otherwise

(a) Sketch y(t) = x 1 (t) ∗ x 2 (t). You DO NOT need to write any formulas. The shape of your sketch of y(t) should be accurate and the coordinates should be properly marked. (b) Let

z 1 (t) =

  

1 if 0 ≤ t ≤ 1 3 if 1 < t ≤ 2 0 otherwise

and let

z 2 (t) =

  

t if 0 ≤ t ≤ 1 1 3 t^ −^

1 3 if 1^ < t^ ≤^2 0 otherwise

Let w(t) = z 1 (t) ∗ z 2 (t). Determine w(t) in terms of y(t) using basic properties of convolution. You need not determine w(t) explicitly : just write it in terms of y(t).

Solution : (a)

y(t) =

  

1 2 (t^ +^

1 2 )

(^2) if − 1 2 ≤^ t^ ≤^

1 1 2 2 −^

1 2 (t^ −^

1 2 )

(^2) if 1 2 ≤^ t^ ≤^

3 2 0 otherwise

we see that

Z(jω) = 2 π 8

(1 − e−j^4 ω)

∑^ ∞

k=−∞

δ(ω − 2 π 8

k).

Hence we have

Y (jω) =

2 π 8 (1 − e−j^4 ω)e−jω^

(^32) X(jω)

∑^ ∞

k=−∞

δ(ω −

2 π 8 k).

Now, if y(t) has Fourier series coefficients ak, we have

y(t) =

∑^ ∞

k=−∞

akejk^

28 π t ,

so that

Y (jω) = 2π

∑^ ∞

k=−∞

akδ(ω −

2 π 8 k).

Matching coefficients, we see that

ak =

(1 − e−j^4 28 π k )e−j^ 28 π k (^32) X(j 2 π 8

k) ,

where X(jω) is as given above.