% Problem 4.17 in Ifeachor and Jervis DSP text.

h = [0 .899 .990 .991 1];
x = [0 2.5 5 0];
yd = conv(h,x);

N = length(x) + length(h) - 1;
H = fft(h, N);
X = fft(x, N);
yf = ifft(H.*X);

yd
yf
