问题
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)
来源:https://stackoverflow.com/questions/19567140/converting-cartesian-coordinates-to-latitude-longitude