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

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

View License

Convert Right Ascension/Declination angles in degrees to Altitude/Azimuth in degrees for an Alt/Az telescope mount.
Input: RA - Right Ascension in degrees
Dec - Declination 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: Altitude - Telescope Altitude in degrees
Azimuth - Telescope Azimuth in degrees

Cite As

Christopher Wilcox (2024). Conversion from Right Ascension/Declination to Altitude/Azimuth in Matlab (https://www.mathworks.com/matlabcentral/fileexchange/27071-conversion-from-right-ascension-declination-to-altitude-azimuth-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