function y = system_2(x) N = length(x); n = 1:1:N; y = x.*cos(pi*n/4);