Design of Finite Impulse Response Digital Filter using Optimal Methods: Includes MATLAB code