This is a static copy of a profile report

Home

nthroot>nthrootssign (42 calls, 0.000 sec)
Generated 28-Feb-2011 19:13:52 using cpu time.
M-subfunction in file /Applications/MATLAB_R2010a.app/toolbox/matlab/elfun/nthroot.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
nthrootM-function42
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
50
y(x<0) = -1;
420 s0%
49
y = ones(size(x));
420 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)
No children
M-Lint results
No M-Lint messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function4
Non-code lines (comments, blank lines)2
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
47 function y = nthrootssign(x)
48 % return 1 if x >= 0, and -1 otherwise.
42 49 y = ones(size(x));
42 50 y(x<0) = -1;

Other subfunctions in this file are not included in this listing.