CToD:

--------------------------------------------------------------------------
   Create a discrete time compensator from a continuous time compensator.

   sType 'delta' 'zoh',
--------------------------------------------------------------------------
   Form:
   g = CToD( g, dT, sType )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   g           (n)   Compensator element data structure
                     .type
   dT          (1,1) Sampling time                  ...
   sType       (1,:) Discrete time type

   -------
   Outputs
   -------
   g           (:)   Compensator

--------------------------------------------------------------------------

Children:

Common: Control/C2DelZOH
Common: Control/S2Z