Compute Convolution for Longer Sequence

 clc;

clear;
close;
h1=[-1,1];
l1=[1,2,3,4,4,3,2,1];
h2=[1,2];
l2=[1,2,-1];
s3=convol(l2,h2);
disp(s3);
length1=length(h1);
length2=length(l1);
total=length2-length1;
//h1=[h1 zeros(1,total)];
s2=convol(h1,l1);
disp(s2);

Comments

Popular posts from this blog

Computation of DFT Using Basic Equation of FFT and Power Spectrum Estimating using DFT

Spectrum Analysis using DFT