Synthesis of digital control systems using discrete Walsh polynomials