Stabilization in the sample-and-hold sense of nonlinear retarded systems