Which function best computes geographic distances?

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)

Asked:

on 1 Jun 2014

Community Treasure Hunt

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

Start Hunting!