pos2dist

Calculate distance between two points on earth's surface given by latitude-longitude pair.

您现在正在关注此提交

Calculate distance between two points on earth's surface given by their latitude-longitude pair. Choose method 1 or 2. Method 1 uses plane approximation, only for points within several tens of kilometers; Method 2 calculates sphereic geodesic distance for points farther apart, but ignores flattening of the earth. Output is in km.

引用格式

Langqiu Sun (2026). pos2dist (https://ww2.mathworks.cn/matlabcentral/fileexchange/5256-pos2dist), MATLAB Central File Exchange. 检索时间: .

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0