Deg2HMS:

Path: Common/Transform

% Convert radians to hours, minutes and seconds

--------------------------------------------------------------------------
   Form:
   [h, m, s] = Deg2HMS( a )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   a              (1,:)  Angle in degrees

   -------
   Outputs
   -------
   h              (1,:)  hours or [h;m;s]
   m              (1,:)  minutes
   s              (1,:)  seconds

--------------------------------------------------------------------------
   References: The 1993 Astronomical Almanac, p. C24. 
--------------------------------------------------------------------------

Back to the Common Module page