Which function best computes geographic distances?

1 view (last 30 days)
I have two triplets of aircraft coordinates [latitude1, longitude1, altitude1] and [latitude2, longitude2, altitude2], which are really close on the globe (may be important). Which function computes most accurately the distance between the two, in nautical miles? I tried the slant range from the elevation function and also the distance function (problem is that distance doesn't take into account the change in altitude).

Answers (0)

Categories

Find more on Earth, Ocean, and Atmospheric Sciences in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!