Home > atmlab > time > mjd2jd.m

mjd2jd

PURPOSE ^

MJD2JD Modified Julian day number from Julian day number.

SYNOPSIS ^

function jd = mjd2jd(mjd)

DESCRIPTION ^

MJD2JD Modified Julian day number from Julian day number.

   JD = MJD2JD(MJD) returns the Julian day number corresponding to the
   given modified Julian day number.

   See also JD2MJD, DATE2JD, DATE2MJD.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

mjd2jd.m

SOURCE CODE ^

0001 function jd = mjd2jd(mjd)
0002 %MJD2JD Modified Julian day number from Julian day number.
0003 %
0004 %   JD = MJD2JD(MJD) returns the Julian day number corresponding to the
0005 %   given modified Julian day number.
0006 %
0007 %   See also JD2MJD, DATE2JD, DATE2MJD.
0008 
0009 %   Author:      Peter J. Acklam
0010 %   Time-stamp:  2002-03-03 12:50:25 +0100
0011 %   E-mail:      pjacklam@online.no
0012 %   URL:         http://home.online.no/~pjacklam
0013 
0014    error(nargchk(1, 1, nargin));
0015 
0016    jd = mjd + 2400000.5;

Generated on Mon 15-Sep-2014 13:31:28 by m2html © 2005