File Exchange

image thumbnail

Right ascension/declinati​on to azimuth/elevation

version 1.1.0.0 (2.38 KB) by Frank Breitling
Mapping from equatorial to horizontal coordinates - i.e. from RA/Dec to az/el (Alt/Az)

3 Downloads

Updated 22 Oct 2009

View Version History

View License

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 (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 .

Comments and Ratings (1)

Nathan Estell

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!