SKY MAP (function)
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.
Cite As
Daniel Okoh (2024). SKY MAP (function) (https://www.mathworks.com/matlabcentral/fileexchange/45673-sky-map-function), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
skymap/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |