Crown-V
%线性卷积conv(h,w)
%反转  平移    相乘   相加
x=[3,11,7,0,-1,4,2];
h=[2,3,0,-5,2,1];
y = conv(x,h)
subplot(3,1,1)
stem(x);
title(\'序列x\')
xlabel(\'n\')
ylabel(\'幅度\')
subplot(3,1,2)
stem(h);
title(\'序列h\')
xlabel(\'n\')
ylabel(\'幅度\')
subplot(3,1,3)
stem(y);
title(\'序列的卷积和\')
xlabel(\'n\')
ylabel(\'幅度\')

就是错位相乘相加

 

分类:

技术点:

相关文章: