vreckon - Computes the coordinates from a point towards a bearing at given distances.
vdist - Calculates distances and bearings between points.
Operations are vectorized.
Mayowa Aregbesola (themaze) (2021). optimcode/vincenty (https://github.com/optimcode/vincenty), GitHub. Retrieved .
Thanks Tarou and Vincenzo Manzari. Fixed, I missed the earlier comment by Tarou.
I'll confirm what Tarou said, please fix this little bug. Apart from this, the code works very well, thank you.
The following code
a = 6378137.0; % semi-major axis (km), WGS84
a = 6378.1370; % semi-major axis (km), WGS84
Then working fine.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!