Calculates azimuth and elevation angle in the local horizon system for a sky position given in equatorial coordinates (RA Dec J2000).
Function Call: [Az El] = RADec2AzEl(350,58, '2008/02/18 13:10:00',60,15,0)
RA - Right ascension (J2000) of sky position in degrees (0:360)
Dec - Declination angle (J2000) of sky position in degrees (-90:90)
UTC - Date and Time in UTC of format YYYY/MM/DD hh:mm:ss
Lat - Latitude of location in degrees -90:90 -> S(-) N(+)
Lon - Longitude of location in degrees -180:180 W(-) E(+)
Alt - Altitude of location in km
Az - Azimuth angle in degrees
El - Elevation/Altitude Angle in degrees
Frank Breitling (2020). Right ascension/declination to azimuth/elevation (https://www.mathworks.com/matlabcentral/fileexchange/25617-right-ascension-declination-to-azimuth-elevation), MATLAB Central File Exchange. Retrieved .
Inspired by: Vectorized Solar Azimuth and Elevation Estimation
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!