pos2dist
by Langqiu Sun
15 Jun 2004
(Updated 17 Jun 2004)
Calculate distance between two points on earth's surface given by latitude-longitude pair.
|
Watch this File
|
| File Information |
| Description |
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. |
| Acknowledgements |
This submission has inspired the following:
posdist
|
| MATLAB release |
MATLAB 6.5 (R13)
|
| Other requirements |
Tested only on PCs. |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us at files@mathworks.com