SKY MAP (function)

版本 1.0.0.0 (10.6 MB) 作者: Daniel Okoh
A MATLAB function that shows the position and relative brightness of stars in the sky
778.0 次下载
更新时间 2014/2/24

查看许可证

The function returns the sky map (position and relative brightness of stars in the sky) for any given location of observation on Earth, and time as the user may indicate.
The function is in a zip file containing 4 files namely sao6.txt, saoALL.txt, saoNAN.txt, and skymap.m.

The main function to use is skymap.m, it requires 9 arguments entered as follows:

skymap(YYYY,MM,DD,hh,mm,ss,long,lat,UTdiff)

where YYYY is 4 digit year (e.g 2013)
MM is month (e.g 4 for April)
DD is day of month (e.g 21 for 21st April)
hh is local hour (e.g 17 for 5pm local time)
mm is minute,
ss is second,
long is longitude of place in degrees (East is positive, while West is negative; e.g -33 means 33 degree West, while 56 means 56 degree East)
lat is latitude of place in degrees (North is positive, while South is negative; e.g -12 means 12 degree South, while 70 means 70 degree North)
UTdiff is the hour difference of place's local time (LT) from universal time (UT); e.g Nigerian time is 1 hour ahead of UT, therefore UTdiff for Nigeria is 1, while Boulder CO is 7 hours behind UT, and so its UTdiff is -7.

引用格式

Daniel Okoh (2024). SKY MAP (function) (https://www.mathworks.com/matlabcentral/fileexchange/45673-sky-map-function), MATLAB Central File Exchange. 检索来源 .

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

Community Treasure Hunt

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

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