Laboratory Report Cover Sheet: Linear Convolution and Circular Convolution
Laboratory Report Cover Sheet: Linear Convolution and Circular Convolution
Laboratory Report Cover Sheet: Linear Convolution and Circular Convolution
Venue : ONLINE
REPORT VERIFICATION
Signature :
EXPERIMENT 4
OUTPUT:
// program for circular convolution using concentric circle method
clc ;
clf ;
clear all;
g=input("enter the first sequence");
h=input("enter the second sequence");
N1=length (g);
N2=length(h);
N=max(N1,N2) ;
N3=N1-N2;
if(N3>=0)then
h =[h,zeros(1,N3)];
else
g =[g,zeros(1,- N3)];
end
for n=1:N
y(n)=0;
for i=1:N
j=n - i+1;
if(j<=0)
j= N + j;
end
y(n)=y(n)+g(i)*h(j);
end
end
disp(' sequence y =');
disp(y);
plot2d3(y);
OUTPUT:
OUTPUT:
PRELAB QUESTIONS:
POSTLAB QUESTIONS:
POST LAB QUESTIONS USING SCILAB: