image thumbnail

Geodesic Midpoints

version 1.1 (3.91 KB) by Kurt von Laven
Finds the midpoint along geodesic paths.


Updated 13 Mar 2015

View License

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.

Cite As

Kurt von Laven (2022). Geodesic Midpoints (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!