Convert Azimuth and Elevation to Right Ascension and Declination

版本 1.2.0.0 (2.2 KB) 作者: Darin Koblick
Algorithm will convert Az/El angles to RA /DEC using a topocentric coordinate frame
2.0K 次下载
更新时间 2010/1/28

查看许可证

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

List of Inputs:
Local Azimuth Angle (degrees)
Local Elevation 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:
Topocentric Right Ascension (Degrees)
Topocentric Declination Angle (Degrees)

Sample Function Call:
[RA DEC] = AzEl2RaDec(210.8250667,23.8595052,39.007,-104.883,'1994/05/14 13:11:20.59856')

引用格式

Darin Koblick (2024). Convert Azimuth and Elevation to Right Ascension and Declination (https://www.mathworks.com/matlabcentral/fileexchange/24581-convert-azimuth-and-elevation-to-right-ascension-and-declination), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2008b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Dates and Time 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.2.0.0

Corrected terminology

1.1.0.0

- Updated quadrant check with atan2
- Vectorized for speed

1.0.0.0