S2Z:

-------------------------------------------------------------------------------
   Transform an s-plane transfer function into the 
   z-plane.
   If only 3 inputs are given it assumes the input is in transfer
   function form. Otherwise it assumes state equation from
-------------------------------------------------------------------------------
   Form:
   [numz, denz, k] = S2Z( nums, dens, dT, sType )
   [f, g, h, j]    = S2Z( a, b, c, d, dT, sType )
-------------------------------------------------------------------------------

   ------
   Inputs
   ------
   a                    State transition matrix or Numerator polynominal
   b                    Input matrix or dens
   c                    Output matrix or T
   d                    Feedthrough matrix
   T                    Sampling period
   sType                bilinear', 'zoh', 'forward', 'backward'

   -------
   Outputs
   -------
   f                    Discrete state matrix or numerator polynomial
   g                    Discrete input matrix or denominator polynomial
   h                    Output matrix or gain
   j                    Feedthrough matrix

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

Children:

Common: Control/C2DZOH
Common: Control/ND2SS
Common: Control/SS2ND