function
y = h(x) y = rect(x-1,4);
Published with MATLAB® 7.6