haversine

Computes the haversine (great circle) distance in metres between successive points on the Earth.

You are now following this Submission

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://uk.mathworks.com/matlabcentral/fileexchange/32883-haversine), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0