%% Calculate the modified Julian date for day and time
% This example shows how to calculate the modified Julian date for October 10, 2004, at 12:21:00 p.m..

mjd = mjuliandate(2004,10,10,12,21,0)

% Copyright 2012 The MathWorks, Inc.