clc;
close all;
x=input('Enter input sequence : ');
sx=input('Enter starting index : ');
h=input('Enter transfer sequence : ');
sh=input('Enter starting index : ');
c=conv(x,h);
n=sx+sh:sx+sh-1+length(c);
stem(n,c);
close all;
x=input('Enter input sequence : ');
sx=input('Enter starting index : ');
h=input('Enter transfer sequence : ');
sh=input('Enter starting index : ');
c=conv(x,h);
n=sx+sh:sx+sh-1+length(c);
stem(n,c);
0 comments:
Post a Comment