Here "geodesic paths" refers to paths of shortest distance along the surface of a sphere. Midpoints along these paths are equidistant from the endpoints both in straight-line distance and in distance along the surface of the sphere. In the case in which a given pair of points are antipodes, there are an infinite number of geodesics between them, and thus an infinite number of geodesic midpoints. In this case, the midpoint on the equator with longitude closest to 0 is arbitrarily selected.
Kurt von Laven (2022). Geodesic Midpoints (https://www.mathworks.com/matlabcentral/fileexchange/50000-geodesic-midpoints), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Spherical To Azimuthal Equidistant
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!