Equation of Time

Compute the equation of time with accuracy on the order of seconds.
671 Downloads
Updated 6 Sep 2011

View License

Compute the equation of time with accuracy on the order of seconds. This routine can handle multiple millenniums.

Function Call With Time String:
>> EQtime = EquationOfTime('2000/01/01 00:00:00');

Function Call With Julian Date:
>> EQtime = EquationOfTime(2451544.5);

Input List:
UTCjd (Coordinated Universal Time YYYY/MM/DD hh:mm:ss or Julian Date (Fractional Days)) [N x M] (double or char)

Output List:
EQtime (Equation of Time Solution for a specified date in fractional minutes) [N x 1] (double)

Cite As

Darin Koblick (2024). Equation of Time (https://www.mathworks.com/matlabcentral/fileexchange/32793-equation-of-time), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Dates and Time in Help Center and MATLAB Answers
Acknowledgements

Inspired: Convert UTC to Solar Apparent Time, Orbit wizard

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0