HMS2Deg:

Path: Common/Transform

% Convert hours, minutes and seconds to degrees. 
   See also HMS2Rad.

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

   ------
   Inputs
   ------
   h           (1,:) Hours
   m           (1,:) Minutes
   s           (1,:) Seconds

   or

   h           (3,:) [Hours; Minutes; Seconds]

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

--------------------------------------------------------------------------

Children:

Common: Transform/HMS2Rad

Back to the Common Module page