What technique or formula does legs use to calculate distance and bearing between 2 coordinates?

조회 수: 3 (최근 30일)
Just for information, can you reproduce formulae for both rhumbline and great circle navigaition.

답변 (1개)

Brahmadev
Brahmadev 2023년 11월 10일
You can use the following command to understand the formulae used by "legs" to compute the distance in both great circle and rhumb line tracks.
open legs
In “legs.m”, we can see that for calculating the distance, it calls the "distance" function at line 81. The implementation of "distance" contains the algorithm for computing the distance between the two points. Open the file using the following command.
open distance
Hope this helps with the information you need!

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by