Right ascension/declination to azimuth/elevation
by Frank Breitling
20 Oct 2009
(Updated 22 Oct 2009)
Mapping from equatorial to horizontal coordinates - i.e. from RA/Dec to az/el (Alt/Az)
|
Watch this File
|
| File Information |
| Description |
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 |
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
Solar Azimuth and Elevation Estimation
|
| MATLAB release |
MATLAB 7.8 (R2009a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 22 Oct 2009 |
Small updates to the documentation. |
|
Contact us at files@mathworks.com