Conversion of UTM Coordinates to Spherical Coordinates

Little GUI allows you convert UTM coordinates to spherical coordinates.
6K Downloads
Updated 5 Sep 2006

View License

0. Syntax:[long,lonm,lons,latg,latm,lats,Direction] = UTMIP(instruccion)

1. With this little routine, you can get the transformation or the conversion of UTM coordinates to spherical coordinates, you can choose different ellipsoids to execute the conversion.

2. Inputs:
x, y, utm zone, and hemisphere.

3. Outputs:
Latitude, Longitude and the reference of the Longitude.

4. Notes:
It's only necessary to run the function.
I designed the window in order to display in a screen of 1024 x 768.
This is the "inverse problem" of Spherical coordinates to UTM coordinates. You can also see the routine:
Conversion of Spherical Coordinates to UTM Coordinates, on Matlab Central -File Exchange, ID File: 8043.

5. Referents:
Page of Gabriel Ortiz.

Author: Gabriel Ruiz Martinez, Civil Engineer .
If you'll detect any mistake or bug, may you communicate me?
%September 2006
%v1.2.
%Modifications:
I added the lines 305 and 308.

Cite As

Gabriel Ruiz-Martinez (2024). Conversion of UTM Coordinates to Spherical Coordinates (https://www.mathworks.com/matlabcentral/fileexchange/8188-conversion-of-utm-coordinates-to-spherical-coordinates), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Conversion of Spherical Coordinates to UTM Coordinates

Inspired: utm2deg

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

In order to solve the problem that Sang-Ho Yun found, I changed somes lines. Thanks Sang-Ho Yun.