Converter Geodetic coordinates to Cartesian coordinates
Converter Geodetic coordinates to Cartesian coordinates
on Triaxial Ellipsoid or Biaxial Ellipsoid or Sphere.
Geodetic coordinates must be (Latitude(deg.),Longitude(deg.),Height(m.))
be careful input axis
axis,[a; b; c] - ellipsoid radii [a; b; c],its axes along [x y z] axes
For Triaxial ellipsoid ,it must be a>b>c
For Biaxial ellipsoid ,it must be a=b > c
For Sphere ,it must be a = b = c
How to cite this code:
BEKTAS, Sebahattin. Orthogonal distance from an ellipsoid. Bol. Ciênc. Geod. [online]. 2014, vol.20, n.4, pp. 970-983. ISSN 1982-2170.
Cite As
Sebahattin Bektas (2026). Converter Geodetic coordinates to Cartesian coordinates (https://www.mathworks.com/matlabcentral/fileexchange/46239-converter-geodetic-coordinates-to-cartesian-coordinates), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
