Spherical Earth Elevation Angle

Determines elevation angle based on spherical Earth.
243 descargas
Actualizado 29 jul 2011

Ver licencia

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')

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2011a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.1.0.0

Fixed spelling mistake in the comment file.

1.0.0.0