image thumbnail

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.7K 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 (2021). 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 Linux

Community Treasure Hunt

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

Start Hunting!