File Exchange

image thumbnail

optimcode/vincenty

version 1.0.0.0 (2.48 KB) by Mayowa Aregbesola (themaze)
vdist, vreckon vincenty

9 Downloads

Updated 10 Feb 2021

From GitHub

View license on GitHub

vreckon - Computes the coordinates from a point towards a bearing at given distances.
vdist - Calculates distances and bearings between points.
Operations are vectorized.

Cite As

Mayowa Aregbesola (themaze) (2021). optimcode/vincenty (https://github.com/optimcode/vincenty), GitHub. Retrieved .

Comments and Ratings (3)

Mayowa Aregbesola

Thanks Tarou and Vincenzo Manzari. Fixed, I missed the earlier comment by Tarou.

Vincenzo Manzari

I'll confirm what Tarou said, please fix this little bug. Apart from this, the code works very well, thank you.

Tarou

The following code

a = 6378137.0; % semi-major axis (km), WGS84

should be

a = 6378.1370; % semi-major axis (km), WGS84

Then working fine.

MATLAB Release Compatibility
Created with R2011a
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!