DMS2Rad:
--------------------------------------------------------------------------
Convert degrees, minutes and seconds to radians.
Inputs can be d,m,s, [d;m;s] or d:m:s or d:m or d.
Type DMS2Rad for a demo
Since version 1.
--------------------------------------------------------------------------
Form:
rad = DMS2Rad( d, m, s )
rad = DMS2Rad( [d;m;s] )
rad = DMS2Rad( d );
--------------------------------------------------------------------------
------
Inputs
------
d (1,:) Degrees or [d;m;s] or string
m (1,:) Minutes
s (1,:) Seconds
-------
Outputs
-------
rad (1,:) Angle in radians
--------------------------------------------------------------------------
Children:
Common: General/StringToTokens