pos2dist
Version 1.0.0.0 (882 Bytes) by
Langqiu Sun
Calculate distance between two points on earth's surface given by latitude-longitude pair.
10.9K Downloads
Updated
17 Jun 2004
No License
Calculate distance between two points on earth's surface given by their latitude-longitude pair. Choose method 1 or 2. Method 1 uses plane approximation, only for points within several tens of kilometers; Method 2 calculates sphereic geodesic distance for points farther apart, but ignores flattening of the earth. Output is in km.
Cite As
Langqiu Sun (2026). pos2dist (https://www.mathworks.com/matlabcentral/fileexchange/5256-pos2dist), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Mapping Toolbox > Geometric Geodesy >
- Radar > Mapping Toolbox > Geometric Geodesy >
Find more on Geometric Geodesy in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: posdist, pathdist, Heightprofile from GoogleEarth to 3D-Surface
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
