clear,clc
g=[3, 4, -2, 0, 1, -4];
h=[1, -3, 0, 4, -2, 3];
f=conv(g,h);
结果
f =
3 -5 -14 18 11 -14 28 -2 -18 11 -12