Digital synthesis of non-linear filters