Lecture-10 Impulse Response & Convolution Sum in DT LTI System
Lecture-10 Impulse Response & Convolution Sum in DT LTI System
MT - 252
Lecture # 10: Discrete-Time LTI System
Impulse Response & Convolution Sum
+
x n = x k n − k
k =−
◼ The key idea in visualizing how the discrete-time unit impulse can be used
to construct any discrete-time signal as a sequence of individual impulses.
◼ In other words, for any signal 𝒙[𝒏], we can always express it as a sum of
impulses.
+
x n = x k n − k Scaled Impulses
k =−
1 n 0
u n = u n = u k n − k
0 n 0 k =0
u n = n − k
k =0
x n = n System y n = h n
◼ In another way, the “impulse response” of a system, i.e., 𝒉[𝒏], is the output that it
produces in response to an impulse input.
2 4
𝑥1 𝑛 ± 1 LTI 𝑦1 𝑛 ± 1
– Scaling Property
– Time invariance, Scaling, and Additive Property or Linear Time Invariance property
– Scaling Property:
𝑎𝛿 𝑛−1 LTI 𝑎ℎ 𝑛−1
𝑦𝑛
𝑥𝑛 +∞ +∞
◼ Let 𝒉𝒌 [𝒏] denote the response of the linear system to the shifted unit impulse
𝜹[𝒏 − 𝒌]. Then the above equation can be written as
y n = x k hk n
k =
If we know the response 𝒉 𝒏 of a linear system to the set of shifted unit impulses
𝜹 𝒏 − 𝒌 , we can construct the response to an arbitrary input 𝒙 𝒏 . 11
Digital Image Processing, 3rd ed.
Gonzalez & Woods
www.ImageProcessingPlace.c
◼ Convolution-sum om
Chapter 10
Image Segmentation
𝒚𝟏 [𝒏]
𝒚𝟐 [𝒏]
𝒚𝟑 [𝒏]
𝒚𝟏 [𝒏]
LTI System
𝒚𝟐 [𝒏]
𝒚𝟑 [𝒏]
◼ Convolution-sum (Summary)
◼ Convolution is the process by which an input interacts with an LTI system to
produce an output.
◼ Let 𝒉𝒌 [𝒏] denote the response of the linear system to the shifted unit impulse
𝜹[𝒏 − 𝒌]. Then, from the superposition property, the response 𝒚[𝒏] of the
system to the input 𝒙[𝒏] can be expressed as
y n = x k h n − k
k =−
y n = x n h n 15
Digital Image Processing, 3rd ed.
Gonzalez & Woods
www.ImageProcessingPlace.c
◼ Example-01(Method-01): Consider om an LTI system with impulse response
Chapter 10
𝒉[𝒏] and input 𝒙[𝒏], as illustrated in Figure.
Image Segmentation
◼ Determine 𝒚[𝒏]?
◼ Solution:
y n = x n h n
0, n0
x k h −k + 0 , n=0
k =−
x k h −k + 1 , n =1
k =−
y n =
x k h −k + 2 , y −, , −1 = x k h ( −, , −1) − k 0
k
n=2
k =
=−
x k h −k + 2 ,
k
n=3
=−
0, n3
0, n0
x k h −k + 0 , n=0
k =−
x k h −k + 1 , n =1
k =−
y n = y 0 = x k h 0 − k ,
x k h −k + 2 ,
k
n=2 k =
0, n0
x k h −k + 0 , n=0
k =−
x k h −k + 1 , n =1
k =−
y n = y 1 = x k h 1 − k ,
x k h −k + 2 ,
k
n=2 k =
=−
y 1 = x 0 h 0 + x 1 h 1
x k h −k + 2 ,
k y 1 = ( 0.5 ) (1) + ( 2 ) (1) = 2.5
n=3
=−
0, n3
0, n0
x k h −k + 0 , n=0
k =−
y 2 = x k h 1 − k ,
x k h −k + 1 , n =1 k =
k =−
y n = y 2 = x 0 h 0 + x 1 h 1
x k h −k + 2 , y 2 = ( 0.5 ) (1) + ( 2 ) (1) = 2.5
k
n=2
=−
x k h −k + 2 ,
k
n=3
=−
0, n3
0, n0
x k h −k + 0 , n=0
k =−
y 3 = x k h 1 − k ,
x k h −k + 1 , n =1 k =
k =−
y n = y 3 = x 1 h 1
x k h −k + 2 ,
k
n=2
=− y 3 = ( 2 ) (1) = 2
x k h −k + 2 ,
k
n=3
=−
0, n3
0, n0
x k h −k + 0 , n=0
k =−
x k h −k + 1 , n =1 y 4, , = x k h 1 − k = 0
k =−
y n = k =
x k h −k + 2 ,
k
n=2
=−
x k h −k + 2 ,
k
n=3
=−
0, n3
y n = x k h n − k ,
k =−
y n = x 0 h n − 0 +x 1 h n − 1 ,
y n = 0.5h n − 0 +2h n − 1
x n = 0, 0, 3, 1, 2,0 ;
h n = 0, 3, 2, 1
Solution:-
0, n0
9,
y n = x n h n , n=0
9, n =1
y n = y n = 11,
x k h n − k , 5,
n=2
k =− n=3
2, n=4
y n = x k h −k + n 0,
k =− n4
y n = 0, 9,9,11,5, 2, 0
x(k): 3 1 2
h(0-k): 1 2 3
h(1-k): 1 2 3
h(2-k): 1 2 3
h(3-k): 1 2 3
h(4-k): 1 2 3
h(5-k): 1 2 3
x n = 0, 0, 1, 2, 4,0 ;
h n = 0, 0, 1, 1, 1,1,0 ;
Solution:-
~Try Yourself ~
~Try Yourself ~
h n = 1, 2, 3 ;
y n = 1 4 10 12 9
x n
h n 1 2 3
Length of 𝒚[𝒏]
1 1 2 3
m = 3,
n = 3,
2 2 4 6 L = ( m + n) −1
3 3 6 9
y n = 1 4 10 12 9
Solution:
y n = x n h n ,
h −k − n = u −k − n
y n = x k h n − k , n0
k =−
y n = x k h −k + n
k =−
h −k + n = u −k + n
n0
Image Segmentation
0
y n = x k h n − k , ( u k ) ( u − k − n ) , n 0 n0
k
0,
k =−
y n = y n = k
k =−
, n0
( k u k ) ( u − k + n ) ,
y n = x k h −k + n . n0 k =0
k =− k =0
x k
h −k − n
n0
See that
How about 𝑛 ≥ 0?
𝒏 → +∞
Image Segmentation
0
y n = x k h n − k , ( u k ) ( u − k − n ) , n 0 n0
k
0,
k =−
y n = y n = k
k =−
, n0
( k u k ) ( u − k + n ) ,
y n = x k h −k + n . n0 k =0
k =− k =0
k
= 0 +1 + 2 +
x k k =0
0, n0
y n = 1 − n +1
, n0
h −k + n 1−
n0
1 − n +1
= n +1
k
y n = − 1 ,
u n
k =0
1
− 1
1−
1
k =0
k =
1−
1 − n +1
y n = u n
1−
1
1−
~Try Yourself ~
From book
Example 2.4
Example: 2.5
Acknowledgement
◼ The slides are prepared based on the following textbook:
◼ Chapter #2 (Art. 2.1), signals & systems by Alan V. Oppenheim, S. Hamid
Nawab, 2nd edition, Pearson education - prentice hall
◼ Reading Assignment :2.1.1,2.1.2.
◼ Special thanks to
◼ Prof. Dr. Muhammad Shehzad Hanif
◼ Prof. Dr. Mark Hasegawa-Johnson