kmperdeg

버전 1.0.0 (1.71 KB) 작성자: Gregory Pelletier
Calculate the distance in kilometers per degree of longitude or latitude for any location
다운로드 수: 13
업데이트 날짜: 2022/9/22

라이선스 보기

This function calculates the distance in kilometers per degree of longitude or latitude for any location. This quantity can be used as the conversion factor to convert between distances in kilometers and distances in degrees of longitude or latitude for any location of interest.
INPUT
phi = degrees of latitude at the location of interest (-90 to 90 deg N)
OUTPUT
dlon = distance in kilometers per degree of longitute at phi
dlat = distance in kilometers per degree of latitute at phi
example use:
>> phi = [0 15 30 45 60 75 90]';
>> [dlon_km dlat_km] = kmperdeg(phi)
phi =
0
15
30
45
60
75
90
dlon_km =
111.3195
107.5505
96.4863
78.8468
55.8000
28.9020
0.0000
dlat_km =
110.5743
110.6487
110.8525
111.1318
111.4123
111.6184
111.6940

인용 양식

Gregory Pelletier (2024). kmperdeg (https://www.mathworks.com/matlabcentral/fileexchange/117965-kmperdeg), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2022b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가

Community Treasure Hunt

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

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