Geodetic and Geocentric Coordinates

A suite of MATLAB functions for converting between geodetic and geocentric coordinates.

https://sourceforge.net/u/cdeaglejr/profile/

You are now following this Submission

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 (2026). Geodetic and Geocentric Coordinates (https://se.mathworks.com/matlabcentral/fileexchange/39494-geodetic-and-geocentric-coordinates), 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.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