Rad2DMS:

Path: Common/Transform

% Convert radians to degrees, minutes and seconds

--------------------------------------------------------------------------
   Form:
   [d, m, s] = Rad2DMS( a )
--------------------------------------------------------------------------

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

   -------
   Outputs
   -------
   d              (1,:)  degrees
   m              (1,:)  minutes
   s              (1,:)  seconds

   or
   
   d              (3,:)  [degrees;minutes;seconds]

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

Back to the Common Module page