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 (2024). Geodesic Midpoints (https://www.mathworks.com/matlabcentral/fileexchange/50000-geodesic-midpoints), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Mapping Toolbox > Geometric Geodesy >
- Radar > Mapping Toolbox > Geometric Geodesy >
Tags
Acknowledgements
Inspired by: Spherical To Azimuthal Equidistant
Inspired: Find Nearest Neighbors on Sphere, Grid Sphere
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
GeodesicMidpoints/
Version | Published | Release Notes | |
---|---|---|---|
1.1 | Added links to other FX submissions that this submission uses code from. |
|
|
1.0.0.0 |
|