greenwichsrt

Greenwich mean and apparent sidereal times

Description

example

[thGMST,thGAST] = greenwichSRT(utcJD) calculates Greenwich mean and apparent sidereal times at a specific Universal Coordinated Time (UTC). Mean sidereal time accounts only for secular motion (precession). Apparent sidereal time includes secular and periodic contributions.

[thGMST,thGAST] = greenwichSRT(utcJD,dUT1,dAT)calculates Greenwich mean and apparent sidereal times at a higher precision using Earth orientation parameters.

Examples

collapse all

Calculate Greenwich sidereal times at 12:00 on January 4, 2019.

jd = juliandate([2019 1 4 12 0 0]);
[thGMST, thGAST] = greenwichSRT(jd)
thGMST =
  283.8103

thGAST =
  283.8065

Input Arguments

collapse all

Universal Coordinated Time (UTC) as a Julian date, specified as a scalar.

Tip

To calculate the Julian date for a particular date, use the juliandate function.

Data Types: double

Difference between the Coordinated Universal Time (UTC) and Universal Time (UT1), specified as a scalar, in seconds.

Difference between International Atomic Time (TAI) and Coordinated Universal Time (UTC), specified as a scalar, in seconds.

Output Arguments

collapse all

Greenwich mean sidereal time, specified as a scalar, in seconds.

Greenwich apparent sidereal time, specified as a scalar, in seconds.

Limitations

This function requires the Mapping Toolbox™ license.

References

[1] Vallado, D. A. Fundamentals of Astrodynamics and Applications. alg. 1 and eqs. 1-63. New York: McGraw-Hill, 1997.

Introduced in R2019a