posdist
版本 1.0.0.0 (2.0 KB) 作者:
Jakob Tougaard
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 (2024). posdist (https://www.mathworks.com/matlabcentral/fileexchange/35562-posdist), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2010a
兼容任何版本
平台兼容性
Windows macOS Linux类别
- Mathematics and Optimization > Mapping Toolbox > Coordinate Reference Systems >
- Radar > Mapping Toolbox > Coordinate Reference Systems >
在 Help Center 和 MATLAB Answers 中查找有关 Coordinate Reference Systems 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |