Midtermexam1 24oct11 Solution
Midtermexam1 24oct11 Solution
Given the continuous‐time (CT) and discrete‐time (DT) signals x(t) and x(n) shown below, sketch and label
carefully the signals in (a) and (b). [Note: u(t) and u(n) denote the CT and DT unit step signals respectively]
x (t ) x (n )
2 2
1 1 1
t n
0
-2 -1 1 2 -5 -4 -3 -2 -1 0 1 2 3 4
-1
-2
y2 (t )
y1 ( t )
4 2
2
1
t t
-2 -1.5 0 0.5 0
-1 1 2 -2 -1 1 2
y1 ( n ) y2 ( n)
2 1
n n
-2 -1 0 1 2 -2 -1 0 1 2
-1
/2
(c) Evaluate the integrals: (i) cos( t ) ( t ) dt , (ii) e - t ( 2 t 2 ) dt .
0
1
e -t (2t 2) dt 0 , (ii) e - t ( 2 t 2 ) dt e - t [ 2 ( t 1)] dt ( t 1) dt 0 . 5 e
-1
Ans: (i) e -t
|2|
1
Student Name: SOLUTION Student ID: Section#
(a) Classify the following signal as periodic or aperiodic and find the fundamental period, if periodic:
2 2
(i) x ( t ) [cos( 2 t )] , (ii) x ( n ) cos( n ) sin( n ) cos( n ) .
3 4 8 2 3
1
Ans: (i) Periodic, since x (t ) {1 cos(4t 4 / 3)} ; 0 4 , T0 .
2 2
2
(ii) Periodic, since 0 gcd( , ) ; thus N
, 16 .
4 8 2 8 0
2 t
(b) (i) Determine the total energy or average power for the signal x (t ) 0.5e u(t ) , and classify it as
energy or power signal. (ii) State (without proof), whether or not the system with input‐output relation
t
y (t )
x( )d , possess the properties: invertibility, linearity, time invariance, memoryless, causality.
T 0.25
Ans: (i) E tot lim
| 0 .5 e
2t
u ( t ) |2 dt , Pave 0 .
T
T
4
dy (t )
(ii): I. invertible, since x (t )
dt
IV. not memoryless, since past inputs must be kept in order to compute y (t ) .
(c) An LTI system has input‐output pairs x1 (t ) and y1 (t ) as shown below. Compute and sketch the response
of the system to the input signals: (i) x2 (t ) 2u (t 1) , (ii) x3 (t ) (t ) (t 1) (t 2) (t 3) .
y 2 (t ) y3 ( t ) 2
x1 ( t ) u ( t ) 2
1
1
y1 (t )
1 t t
1
0 1 2 0 1 2 3 4
LTI
t t
0 1 2 3 0 1 -2 -2
d d
(ii) x3 (t) {x1(t) x1(t 1) x1(t 2) x1(t 3)} y3(t) {y1(t) y1(t 1) y1(t 2) y1(t 3)}
dt dt
2
Student Name: SOLUTION Student ID: Section#
(a) The output of a CT LTI system with input x(t ) and impulse response h(t ) is given by the convolution
expression: y (t ) x (t ) * h (t ) . Show that: x (t t0 ) * h (t t0 ) y (t 2t0 ) .
2 t
(b) Given that h (t ) e u(t ) and x (t ) e 2 t u ( t ) , determine and sketch y (t ) for the system in part (a).
(c) Calculate the output of a DT LTI system with impulse response h ( n ) 0.5 ( n ) 2 ( n 1) , given that
the input signal is x ( n ) ( n ) 0.5 ( n 1) 0.25 ( n 2) .
(d) Assess the stability of the LTI systems with impulse response: (i) h ( n ) u ( n ) , (ii) h(t ) (0.5) k (t k ) .
k 0
Ans: (a) x(t t0 ) * h(t t0 ) x( t0 )h(t t0 )d ; let t 0 , then this convolution integral becomes:
0
x( )h(t 2t0 )d = y(t 2t0 ) , since y(t ) x( )h(t )d equals integral above if we let t t 2t0 .
0
0
1 x ( )
0
1
h (t ) , t 0
t 0
1 h (t ) , t 0
t 2t
e
(b)
For t 0 , y(t) e2 e2(t ) d
4
0 t
y (t) 1
4
t
e2t
0
2 2( t )
For t 0 , y(t) e e d 0
4
(c) y(n) h(n) * x(n) [0.5 (n) 2 (n 1)]* x(n) 0.5x(n) 2x(n 1)
0.5 ( n ) 2.25 ( n 1) 1.125 ( n 2) 0.5 ( n 3)
2.25
x(n)
1.125
0.5
0.5
n
1
| h( n ) | | u(n ) | : unstable, (ii) 0| h ( t ) | dt 0 | ( t k ) | dt
k
(d) (i) ( 0 .5) : stable
k 0 k 0 k 0 1 0 .5