Digital filter coefficients automatic fitting