Geodetic and Geocentric Coordinates

A suite of MATLAB functions for converting between geodetic and geocentric coordinates.
672 Downloads
Updated 8 Feb 2025

View License

PDF document and several MATLAB functions that can be used to convert between geocentric and geodetic coordinates. This software suite also includes several scripts that demonstrate how to interact with these functions.
A MATLAB function and demo script for calculating the altitude relative to a triaxial planet is included.

Cite As

David Eagle (2025). Geodetic and Geocentric Coordinates (https://www.mathworks.com/matlabcentral/fileexchange/39494-geodetic-and-geocentric-coordinates), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

Added geocentric position vector-to-geodetic latitude and altitude algorithm due to Karl Osen.

1.1.0.0

Added a function (geodet7) that uses the fsolve algorithm of the Optimization Toolbox to solve the system of nonlinear equations.

1.0.0.0