Rad2HMS:

Path: Common/Transform

% Convert radians to hours, minutes and seconds

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

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

   -------
   Outputs
   -------
   h              (1,:)  hours
   m              (1,:)  minutes
   s              (1,:)  seconds

   or
   
   h              (3,:)  [hours;minutes;seconds]

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

Back to the Common Module page