File Exchange

image thumbnail

Convert Right Ascension and Declination to Azimuth and Elevation

version 1.1 (2.33 KB) by

Algorithm will convert topocentric RA/DEC Angles to Azimuth and Elevation



View License

Function Description:
RaDec2AzEl will take the Right Ascension and Declination in the topocentric reference frame, site latitude and longitude as well as a time in GMT and output the Azimuth and Elevation in the local horizon reference frame.

List of Inputs:
Topocentric Right Ascension (Degrees)
Topocentric Declination Angle (Degrees)
Lat (Site Latitude in degrees -90:90 -> S(-) N(+))
Lon (Site Longitude in degrees -180:180 W(-) E(+))
UTC (Coordinated Universal Time YYYY/MM/DD hh:mm:ss)

List of Outputs:
Local Azimuth Angle (degrees)
Local Elevation Angle (degrees)

Sample Function Call:
[Az El] = RaDec2AzEl(294.9891115,-20.8235624,39.007,-104.883,'1994/05/14 13:11:20.59856')

Comments and Ratings (1)

Artik Crazy



Updated terminology

MATLAB Release
MATLAB 7.9 (R2009b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video