You are on page 1of 7

Department of Electronics and Communication Engineering

National Institute of Technology, Tiruchirappali – 620 015

ECLR15 Digital Signal Processing Laboratory


V-Semester -UG

Dr. M. Bhaskar, Professor, ECE, NIT, Trichy-15 1


First Cycle
MATLAB based experiments

Experiment No. 2: CONVOLUTION

Dr. M. Bhaskar, Professor, ECE, NIT, Trichy-15 2


Objective/Aim of the experiment

1. Generation of impulse response of signals/systems.


2. Performing linear convolution of signals.
3. Performing circular convolution of signals.
4. Convolution of signals using overlap add and overlap and
save method.

DR. M. BHASKAR, PROFESSOR, ECE, NIT, TRICHY-15 3


Convolution
 Convolution is a mathematical operation on two functions and it produces a third function.
 It "blends" one function with another.
 It is used find the output response of LTI systems.

 Convolution is used to describe the relationship between input signal, impulse


response and the output signal.
 δ[n] – Impulse signal
 h[n] – Impulse response
 x[n] – Input signal
 y[n] – Output signal

Dr. M. Bhaskar, Professor, ECE, NIT, Trichy-15 4


Linear Convolution equation

Let n be number of samples of input signal x[n].


Let m be number of samples of impulse response h[n].
Then, the output signal y[n] will have N = m + n – 1 samples.
This equation y[n] is called as the convolution sum.

DR. M. BHASKAR, PROFESSOR, ECE, NIT, TRICHY-15 5


Circular Convolution equation

Circular convolution is defined for finite length functions


It occurs when one signal is convolved in the normal way with a periodic
summation of the other signal
The circular convolution of the signal x[n] and h[n] is given below

Convolution methods (Learn the theory and write the equations required for
implementation in your observation note book)
1. Overlap save method
2. Overlap add method

DR. M. BHASKAR, PROFESSOR, ECE, NIT, TRICHY-15 6


Laboratory Work

1. Generate one signals according to your preference. Lets say X1.


2. Generate one signal X2 given in the list below :
a. X2 = Exponential Signal
b. X2 = Square signal
c. X2 = Triangular signal
d. X2 = Sinc function
3. Find impulse response of X2. Denote it as h[n].
4. Perform convolution operation and generate the third signal, y[n] = x1[n]*h[n].
5. Repeat the above simulations for all the signals.
6. Repeat all of the above for Circular Convolution.
7. Perform convolution using overlap add and overlap save method for any one signal.
Dr. M. Bhaskar, Professor, ECE, NIT, Trichy-15 7

You might also like