matlab:卷积function

function [n,y] = convm(x,nx,h,nh)
y = conv(x,h);
n = [nx(1)+nh(1):nx(1)+nh(1)+length(y)-1];
end

卷积后序列的起始序号 = 两个卷积序列起始序号和

y = conv(a,b)

conv 还有多项式乘法的作用。y(x)=a(x)*b(x)

猜你喜欢

转载自blog.csdn.net/marujie123/article/details/122410489
今日推荐