DMS2Deg:

Path: Common/Transform

% Convert degrees, minutes and seconds to radians

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

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

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

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

Children:

Common: General/StringToTokens
Common: Transform/DMS2Rad

Back to the Common Module page