Converting cartesian coordinates to latitude/longi

2019-09-15 19:30发布

问题:

How can we convert Cartesian coordinates (x, y and z) into latitude and longitude (in decimals) in Matlab?

Thanks

回答1:

As suggested by @H.Munster it seems like the Geodetic Toolbox - File Exchange submission contains what you need.

In particular: xyz2ell - Cartesian (x,y,z) to ellipsoidal (lat,long,ht) coordinates

[lat,lon,h] = xyz2ell(X,Y,Z)