Conversion from Altitude/Azimuth to Right Ascension/Declinati​on in Matlab

Convert from Altitude/Azimuth to Right Ascension/Declination
699 Downloads
Updated 24 Mar 2010

View License

Convert Altitude/Azimuth angles in degrees to Right Ascension/Declination in degrees for an Alt/Az telescope mount.
Input: Altitude - Telescope Altitude in degrees
Azimuth - Telescope Azimuth in degrees
Latidute - Observer's Latitude (Negative for South) in degrees
Longitude - Observer's Longiture (Negative for West) in degrees
(optional) time - Date vector, as returned from 'clock.m', if not supplied, the current date/time is used.
Output: RA - Right Ascension in degrees
Dec - Declination in degrees

Cite As

Christopher Wilcox (2024). Conversion from Altitude/Azimuth to Right Ascension/Declination in Matlab (https://www.mathworks.com/matlabcentral/fileexchange/27070-conversion-from-altitude-azimuth-to-right-ascension-declination-in-matlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
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!
Version Published Release Notes
1.0.0.0