posdist

Calculates distance between two geographical positions in lat/long format

이 제출물을 팔로우합니다

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 (2026). posdist (https://kr.mathworks.com/matlabcentral/fileexchange/35562-posdist), MATLAB Central File Exchange. 검색 날짜: .

도움

도움 받은 파일: pos2dist

도움 준 파일: pathdist

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0