You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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)
Input:
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
Output:
Az - Azimuth angle in degrees
El - Elevation/Altitude Angle in degrees
Cite As
Frank Breitling (2026). Right ascension/declination to azimuth/elevation (https://www.mathworks.com/matlabcentral/fileexchange/25617-right-ascension-declination-to-azimuth-elevation), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Vectorized Solar Azimuth and Elevation Estimation
General Information
- Version 1.1.0.0 (2.38 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
