posdist
バージョン 1.0.0.0 (1.99 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 (2026). posdist (https://jp.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 についてさらに検索
タグ
| バージョン | 公開済み | リリース ノート | |
|---|---|---|---|
| 1.0.0.0 |
