Latitude longitude to meters on Mars
5 次查看(过去 30 天)
显示 更早的评论
Hello, I have to transform lat, lon to meters on Mars. I tried deg2km(..., 'mars'), but it doesn't work because this function consider mars as a sphere. Any idea?
Thank you.
5 个评论
Gabrielle Hedrick
2019-5-11
I'm going to comment on this in case someone else is looking for this (apparently I wasn't the only one!):
this page gives the radii taken into consideration for the coordinates. To change from degree to meters, calculate the circumference, divide by 360 and it gives a factor to go from degree to km.
回答(1 个)
Matthias Walle
2016-10-6
Hello,
Are you looking for something like the Vincenty's formulae in Matlab? It is used to calculate the distance between two points on the surface of a spheroid.
you can change the parameters of the ellipsoid axis in the file for Mars I guess.
I hope this helped,
Matthias
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!