haversine

Computes the haversine (great circle) distance in metres between successive points on the Earth.
904 Downloads
Updated 13 Sep 2011

View License

Computes the haversine (great circle) distance in metres between successive points on the surface of the Earth. These points are specified as vectors of latitudes and longitudes.

Cite As

Ritchie Smith (2026). haversine (https://www.mathworks.com/matlabcentral/fileexchange/32883-haversine), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0