This is a static copy of a profile reportHome
mjd2jd (124 calls, 0.011 sec)
Generated 05-Aug-2011 13:00:35 using cpu time.
function in file /home/LeechJ/cbass_analysis/matutils/dateconv/mjd2jd.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
16 | jd = mjd + 2400000.5; | 124 | 0.011 s | 100.0% |  |
14 | error(nargchk(1, 1, nargin)); | 124 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.011 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 16 |
Non-code lines (comments, blank lines) | 14 |
Code lines (lines that can run) | 2 |
Code lines that did run | 2 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
1 function jd = mjd2jd(mjd)
2 %MJD2JD Modified Julian day number from Julian day number.
3 %
4 % JD = MJD2JD(MJD) returns the Julian day number corresponding to the
5 % given modified Julian day number.
6 %
7 % See also JD2MJD, DATE2JD, DATE2MJD.
8
9 % Author: Peter J. Acklam
10 % Time-stamp: 2002-03-03 12:50:25 +0100
11 % E-mail: pjacklam@online.no
12 % URL: http://home.online.no/~pjacklam
13
124 14 error(nargchk(1, 1, nargin));
15
0.01 124 16 jd = mjd + 2400000.5;