Modified Julian Date
Version 2.1.0 (2.19 KB) by
Meysam Mahooti
The most accurate calculation of modified Julian date (modified Julian date = Julian date - 2400000.5)
For more than six years I used my previous version of Mjday.m and I thought it was the most accurate because its results were the same as juliandate function of MATLAB. Today, I computed JPL ephemerides with my newer version of Mjday.m and I could get to an accuracy of one centimeter for the position of the major planets, the Sun, and the Moon. If you are doing computations in astrodynamics, aerospace, astronomy, and related fields, I strongly recommend you to use my Mjday.m rather than other versions.
Cite As
Meysam Mahooti (2023). Modified Julian Date (https://www.mathworks.com/matlabcentral/fileexchange/112230-modified-julian-date), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
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.