Mapping Toolbox    
deg2dms, deg2dm

Convert angle units from degrees to dms or dm format

Syntax

Description

anglout = deg2dms(anglin) converts angles input in degrees to the equivalent measure in the degrees-minutes-seconds (dms) format.

angleout = deg2dm(anglin) converts angles input in degrees to the equivalent measure in the degrees-minutes (dm) format. This is the dms format, properly rounded to just degrees and minutes.

Example

See Also
angledim
Convert angle units
dms2mat
Convert from dms to separated matrix components
deg2rad dms2rad
Other direct angle conversion functions
mat2dms
Convert from separated matrices input to dms


  defaultm deg2km, deg2nm, deg2sm