Linear Filtering Via DFT
Linear Filtering Via DFT
via
DFT
LTI System - Output – Linear
Convolution
LTI System
x[n] h[n] y[n]
x[n] = [1 2 ]
h[n] = [1 2 3]
03/16/2021 2
LTI SYSTEM OUTPUT
03/16/2021 3
03/16/2021 4
Exercise: Circular Convolution
• x1[n] = [1 2]
• x2[n] = [1 2 3]
03/16/2021 5
03/16/2021 6
• Circular convolution is of no use to us ,
03/16/2021 7
• How to perform Linear Convolution via Circular
Convolution ????
• Why this question?
Solution:
N point circular convolution of x(n) with h(n) must be equivalent to the linear
convolution of x(n) with h(n).
In other words, by increasing the length of the sequences x(n) and h(n) to N points
(by appending zeros),
and then circularly convolving the resulting sequences, we obtain the same result as
would have been obtained with linear convolution.
Thus with zero padding, the D F T can be used to perform linear filtering
03/16/2021 10
Exercise: Obtain the output of LTI System
x[n] = [1 2 2 1] ; h[n] = [1 2 3] via Circular
Convolution
• 1. Length of LTI system output: Length x[n] + Length h[n] – 1
• = 4+3-1 = 6
2. With appropriate zero padding, obtain Linearly convolved
output via circular convolution
Modified x[n] = [1 2 2 1 0 0]
Modified h[n] = [1 2 3 0 0 0]
Circular convolution: [1 2 2 1 0 0] [1 2 3 0 0 0]
Linear convolution : [1 2 2 1]* [1 2 3]
03/16/2021 11
Circular convolution: [1 2 2 1 0 0] [1 2 3 0 0 0]
Linear convolution : [1 2 2 1]* [1 2 3]
03/16/2021 12
Frequency domain approach– computationally more efficient than time domain
circular convolution
03/16/2021 13
03/16/2021 14
• What happens if 4 point DFT is computed
instead of 6 point DFT.
03/16/2021 15
03/16/2021 16
FILTERING OF LONG DATA
SEQUENCE
03/16/2021 17