Direct method for digital lead-lag design: analytical and graphical solutions