CHAPTER 2 (Done)
CHAPTER 2 (Done)
CHAPTER 2 (Done)
The response of a continuous-time LTI system can be computed by convolution of the impulse
response of the system with the input signal, using a convolution integral.
Impulse Response
Input x(t) Output/ Response y(t)
h(t)
=h(t) * x(t)
∞
∫ x ( τ ) . h ( t−τ ) dτ
−∞
The output y(t) is a weighted integral of the input, where the weight on x ( τ ) is h ( t−τ ). To
evaluate this integral for a specific value of t.
First, obtain the signal h ( t−τ ) (regarded as a function of τ with t fixed) from h ( τ ) by a
reflection about the origin and a shift to the right by t if t>0 or a shift to the left by |t| is
t<0.
Then multiply together the signals x ( τ ) and h ( t −τ )
y(t) is obtained by integrating the resulting product from τ =−∞ to τ =+∞
Sketch x ( τ )
x(τ)
(τ )
Sketch h ( τ )
h (τ )
(τ )
h (τ )
(τ )
h (−τ )
(τ )
h ( t−τ )
(τ )
Case 1
(τ )
t-1 < 0
t<1 no overlap
∞
y(t) = ∫ x ( τ ) . h ( t−τ ) dτ
−∞
=0
Case 2
∞
Overlap y(t) = ∫ x ( τ ) . h ( t−τ ) dτ
−∞
t −1
= ∫ 1.1 dτ
0
t −1
= ∫ 1 dτ
0
t−1
= τ|
0
t≥ 1 t¿ 3 = t-1
1≤ t<3
Case 3
∞
Overlap y(t) = ∫ x ( τ ) . h ( t−τ ) dτ
−∞
t −1
= ∫ 1.1dτ
t −3
t −1
= ∫ 1dτ
t −3
t−1
= τ|
t−3
t-3 ≥ 0 = (t-1)-(t-3)
t≥ 3 =2
{
0 t<1
y(t) = t−11 ≤ t ≤3
2t ≥3
Example 2.1(B)
x(τ)
(τ )
h (τ )
(τ )
h (τ )
(τ )
h ( t−τ )
(τ )
Case 1
∞
y(t) = ∫ x ( τ ) . h ( t −τ ) dτ
−∞
y(t) = 0
(τ )
t < 0 no overlap
y( t) = 0
Case 2
∞
y(t) = ∫ x ( τ ) . h ( t−τ ) dτ
−∞
t
= ∫ 2.3 dτ
0
t
= ∫ 6 dτ
0
t
= 6 τ|
0
= 6(t) – 6(0)
= 6t
(τ )
t ≥0 t-1¿ 0
t≥ 0 t¿ 1
0≤ t<1
Case 3
∞
y(t) = ∫ x ( τ ) . h ( t−τ ) dτ
−∞
t
Overlap = ∫ 2.3 dτ
t −1
t
= ∫ 6 dτ
t −1
t
= 6 τ|
t−1
= 6(t)-6(t-1)
= 6t-6t+6
=6
(τ )
t-1 ≥ 0 t¿ 2
t≥ 1
1≤ t<2
Case 4
∞
Overlap y(t) = ∫ x ( τ ) . h ( t−τ ) dτ
−∞
2
= ∫ 2.3 dτ
t −1
2
= ∫ 6 dτ
t −1
2
= 6 τ|
t−1
= 6(2)-6(t-1)
= 12-6t+6
(τ ) = -6t+18
t-1 ≥ 2 t−1<2
t¿ 3
2≤ t<3
Case 5
∞
y(t) = ∫ x ( τ ) . h ( t−τ ) dτ
−∞
y(t) = 0
t-1 ≥ 2
t ≥ 3 no overlap
Therefore, the output of y(t) for all t is
{
0 t< 0
6 t 0 ≤t <1
y(t) = 6 1 ≤t <2
−6 t+18 2 ≤ t<3
0t ≥3
Example 2.1(C)
Let x(t) be the input to an LTI system with unit impulse response , h(t) where
Solution 2.1(C)
y(t) = x(t)*h(t)
∞
= ∫ x ( τ ) . h ( t−τ ) dτ
−∞
x( τ ) h(τ )
(τ )
h(−τ )
(τ )
h( t−τ )
(τ )
Case 1
∞
y(t) = ∫ x ( τ ) . h ( t−τ ) dτ
−∞
y(t) = 0
(τ )
t < 0 no overlap
Case 2
∞
y(t) = ∫ x ( τ ) . h ( t−τ ) dτ
−∞
t
= ∫ 1. e−aτ dτ
0
1 e−aτ| t
=-
a 0
1 −at −a (0 )
=-
a
[ e −e ]
1 −at
=-
a
[ e −1 ]
1
(τ ) =
a
[ 1−e−at ]
t ≥0
{
1
y(t) = a
[ 1−e ] t ≥0
−at
0 t <0
Example 2.1(D)
Determine and sketch the convolution integral for a system with input,x(t) and impulse response,h(t)
Solution 2.1(D)
h (τ )
x(τ)
h (−τ )
(τ )
h ( t−τ )
(τ )
Case 1
∞
y(t) = ∫ x ( τ ) . h ( t−τ ) dτ
−∞
y(t) = 0
(τ )
t <1 no overlap
Case 2
∞
y(t) = ∫ x ( τ ) . h ( t −τ ) dτ
−∞
t
= ∫ 1.1 dτ
1−∞
t
= τ|
1
= t-1
(τ )
t ≥1 t−2<1
t <3
1≤ t <3
Case 3
∞
y(t) = ∫ x ( τ ) . h ( t −τ ) dτ
−∞
3
= ∫ 1.1 dτ
t −2
3
= τ|
t−2
= 3-(t-2)
= 3-t+2
= 5-t
(τ )
t ≥3 t−2<3
t <5
1≤ t <3
Case 4
∞
y(t) = ∫ x ( τ ) . h ( t−τ ) dτ
−∞
y(t) = 0
t−2 ≥3
t ≥ 5 no overlap
{
0 t <1
t−11 ≤ t <3
y(t)=
5−t 1 ≤ t <3
0 t ≥5
Exercise 2.1
x(t)=u(t+3)-u(t-1)
Impulse Response
Input x[n] Output y[n]
h[n]
y[n] = x[n]*h[n]
∞
y[n]= ∫ x [ k ] . h[n−k ]
k=−∞
Example 2.2(A)
Consider the LTI system with impulse response h[n] and input x[n] , as illistrates below. Compute the
y[n]
Refer to x[n]
k= 0,1 ,2
y[n] = x[n] *h[n]
∞
y[n]= ∫ x [ k ] . h[n−k ]
k=−∞
2
y[n]= ∫ x [ k ] . h [n−k ]
k=0
*
*
Example 2.2(B)
x[n]={2,-1,3}
h[n] = {1,2,2,3}
Therefore ,
y[n] = {2,3,5,10,3,9}
Example 2.2(C)
h[n] = {1,2,-1}
Therefore ,
y[n] = {4,9,0,8,8,-5}
Exercise 2.2
1. An LTI system has the impulse response h[n]={1,2,0,-3}, the underlines locate the n=0 value. For each
input sequence below, find the output sequence y[n] = x[n]*h[n],expressed both as a list (underlined the
n=0 value) and as a stem plot (graph)
a) x1[n] =δ [ n ]
b) x2[n] =δ [ n+ 1 ] + δ [ n−2 ]
c) x3[n] ={1,1,1}
d) x4[n] ={2,1,-1,-2,-3}
2. Consider an LTI system with an impulse response , h[n] and the input signal, x[n] as follows:
x[n] = δ ¿
h[n] = δ ¿
ii) Calculate the output of the system, y[n] using convolution sum.
X h1 h2 Y
Parallel Interconnection
h1
h2
X h1 +h2 Y
Example 2.3
1) Find the expression for the impulse response relating the input x(t) to the output y(t) for the system
h1[n]
h3[n]
h2[n]
h4[n]
Solution
h1[t]
h2[t] h5[t]
h3[t]
1)
h2[n]
h1[n]
h3[n]
h2[t] h4[t]
h1[t] h6[t]
h3[t] h5[t]