버전 (1.99 KB) 작성자: Jakob Tougaard
Calculates distance between two geographical positions in lat/long format
다운로드 수: 746
업데이트 날짜: 2012/3/11

라이선스 보기

Calculates distance in km between two points given in decimal degrees latitude and longitude. Calculation can be great circle distance (smallest distance along the surface of a sphere) or Cartesian distance (planar approximation for smaller distances).
Input can be as scalars or arrays, as long as dimensions are identical for all four coordinates.

The function is based on the pos2dist function submitted by Langqui Sun, modified to allow arrays as input.

인용 양식

Jakob Tougaard (2024). posdist (https://www.mathworks.com/matlabcentral/fileexchange/35562-posdist), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2010a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
Help CenterMATLAB Answers에서 Coordinate Reference Systems에 대해 자세히 알아보기

받음: pos2dist

줌: pathdist

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보