(3)For more details one can look at the Matlab fir1 function.