Spherical Earth Elevation Angle

버전 1.1.0.0 (2.07 KB) 작성자: Jonathan Sullivan
Determines elevation angle based on spherical Earth.
다운로드 수: 243
업데이트 날짜: 2011/7/29

라이선스 보기

ELEV = GETELEVATIONANGLE(GR,H1,H2,REFFECTIVE) Determines the elevation
angle of a target based on ground range (GR), altitude of the observer
(H1) and the altitude of the target (H2), and the effective radius of
the Earth (REFFECTIVE). Ground range and rEffective are in meters.
Altitudes are in meter MSL. and elevation is output in degrees with 0
being parrellel to the ground and 90 being straight up.

Example: The difference between spherical and flat Earth
earthRadius = 6371000;
flatEarthRadius = inf;
oalt = 1000; % Obeserver altitude (m MSL)
talt = 1100; % Target altitude (m MSL)
GRs = logspace(3,7,1000); % From 1 km to 1000 km
elevSpherical = getElevationAngle(GR,oalt,talt,earthRadius);
elevFlat = getElevationAngle(GR,oalt,talt,flatEarthRadius);
figure
semilogx(GR/1e3,elevSpherical,GR/1e3,elevFlat)
xlabel('Ground Range (km)')
ylabel('Elevation Angle (deg)')
legend('Spherical Earth','Flat Earth')
title('Elevation Angle')

인용 양식

Jonathan Sullivan (2024). Spherical Earth Elevation Angle (https://www.mathworks.com/matlabcentral/fileexchange/32383-spherical-earth-elevation-angle), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2011a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

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

Fixed spelling mistake in the comment file.

1.0.0.0