Decimal Degrees to Degrees-Minutes-Seconds.

Convert decimal degrees to degrees-minutes-seconds.

You are now following this Submission

Given a one-dimensional vector D with length L, where each element D( i ) represents a decimal degree.
This function returns in a ( L x 3 ) matrix dms Degree, Minute and Second representation for each row of D.
Remark: I decided to build this function for fixing a bug that I found in Matlab's degrees2dms function.

Cite As

Jefferson Osowsky (2026). Decimal Degrees to Degrees-Minutes-Seconds. (https://www.mathworks.com/matlabcentral/fileexchange/94210-decimal-degrees-to-degrees-minutes-seconds), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0