Convert Degrees, Minutes, Seconds to decimal

convdegminssecs.m converts Degrees, Minutes, Seconds to a decimal value
686 Downloads
Updated 4 Feb 2012

View License

This function may be useful to people who have data in the ocean-going format or degrees, minutes and seconds but need to convert it to decimal format.

The function can take 3 scalar values or 3 vector inputs of the same size and type. A future enhancement would be to allow n x 3 matrix parameter input. Please type >> help convdegminssecs
for more.

Cite As

Bruce Raine (2026). Convert Degrees, Minutes, Seconds to decimal (https://uk.mathworks.com/matlabcentral/fileexchange/34922-convert-degrees-minutes-seconds-to-decimal), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0