Modified Julian Date

The most accurate calculation of modified Julian date (modified Julian date = Julian date - 2400000.5)
51 Downloads
Updated 3 Oct 2022

View License

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 (2024). 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 Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!

Mjday

Version Published Release Notes
2.1.0

invjday.m is added.

2.0.0

Mjday.m is modified.

1.1.1

Mjday.m is modified.

1.1.0

Mjday.m is modified.

1.0.0