Equation of Time
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 (2026). Equation of Time (https://www.mathworks.com/matlabcentral/fileexchange/32793-equation-of-time), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Convert UTC to Solar Apparent Time, Orbit wizard
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
