clear all; clc;

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

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

