Be the first to rate this file! 15 Downloads (last 30 days) File Size: 2.68 KB File ID: #28232

Convert Julian Date to Greenwich Apparent Sidereal Time

by Darin Koblick

 

17 Jul 2010 (Updated 29 May 2012)

Find the Greenwich Apparent Sidereal Time Given any Julian Date

| Watch this File

File Information
Description

Convert a specified Julian Date Vector to Greenwich Apparent Sidereal Time (GAST). The expected input matrix may contain multiple dimensions. The output matrix will be in the same size as the input matrix. Warning: Use caution when using GAST as a substitute for Greenwich Mean Sidereal Time (GMST).

To run JD2GAST, use the following code sequence:
GAST = JD2GAST(JD);

Where:
 JD is the Julian Date input (days)
GAST is the resulting Greenwich Apparent Sidereal Time output (0 to 360deg)

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Julian Date to Greenwich Mean Sidereal Time

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
19 Jul 2010

Fixed bug which would re-size the input vector to [N x 1]

29 May 2012

Updated mean obliquity of elliptic equation to be consistent with units. All units in this equation are in degrees.

Tag Activity for this File
Tag Applied By Date/Time
gmst Darin Koblick 19 Jul 2010 11:23:19
gast Darin Koblick 19 Jul 2010 11:23:19
greenwich Darin Koblick 19 Jul 2010 11:23:19
sidereal Darin Koblick 19 Jul 2010 11:23:20
time Darin Koblick 19 Jul 2010 11:23:20
jd Darin Koblick 19 Jul 2010 11:23:20
julian date Darin Koblick 19 Jul 2010 11:23:20

Contact us at files@mathworks.com