High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
Convolution
1. Experiment No: 03
Experiment Name: Write a simple Matlab program to perform Convolution of two signals.
Objectives:
To learn about Convolution of two signals of a Linear Time Invariant (LTI) System.
To learn about how to perform Convolution using Matlab code.
Theory:
Convolution:
Convolution is a mathematical operation used to express the relation between input and output of
an LTI system. It relates input, output and impulse response of an LTI system as
y(t)=x(t)∗h(t)
Where
y (t) = output of LTI
x (t) = input of LTI
h (t) = impulse response of LTI
In the below figure we can easily understand the process of Convolution of LTI system,
Figure 01: Process of Convolution in LTI system
Code of Convolution:
clear all;
close all;
m=input('length ');
for i=1:m
x(i)=input('value ');
end
p=input('initial ');
n=input('length ');
for i=1:n
y(i)=input('value ');
end
q=input('initial ');
3. Input:
length 5
value 1
value 2
value 3
value 4
value 5
initial 1
length 5
value 5
value 4
value 3
value 2
value 1
initial 1
Output:
Comments:
From this lab we know about Convolution and know how to implement Convolution into Matlab
code. This knowledge will help us in further lab work. This lab helps us to clear our idea about
Convolution.
0 1 2 3 4 5 6 7 8
0
10
20
30
40
50
60