Deg2DMS:

Path: Common/Transform

% Convert degrees to degrees, minutes and seconds.

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

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

   -------
   Outputs
   -------
   d              (1,:)  Degrees or [d;m;s]
   m              (1,:)  Minutes
   s              (1,:)  Seconds

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

Back to the Common Module page