clear all; clc;

x = [1 1 0 1 1];
nx = [-1:3];
h = [1 -2 -3 4];
nh = [-3:0];

[y, ny] = conv_m(x,nx,h,nh) 