This is a static copy of a profile report

Home

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)

Function NameFunction TypeCalls
mjd2date_v2function122
reduceData>checkFlagssubfunction1
mjd2datefunction1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
16
jd = mjd + 2400000.5;
1240.011 s100.0%
14
error(nargchk(1, 1, nargin));
1240 s0%
All other lines  0 s0%
Totals  0.011 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function16
Non-code lines (comments, blank lines)14
Code lines (lines that can run)2
Code lines that did run2
Code lines that did not run0
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;