clear all; clc;

n = (-5:5);

x = [n/4.*(heaviside(n)-heaviside(n-6))];
h = [2.*(heaviside(n+2)-heaviside(n-3))];

y = conv(x,h)