How do I pass the following signal to a FIR lowpass filter having N coefficients?
x(n) = 3 cos(n.pi/4)
I am in need of a MATLAB code.