This is a static copy of a profile reportHome
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 Name | Function Type | Calls |
nthroot | M-function | 42 |
Lines where the most time was spent
No measurable time spent in this functionLine Number | Code | Calls | Total Time | % Time | Time Plot |
50 | y(x<0) = -1; | 42 | 0 s | 0% |  |
49 | y = ones(size(x)); | 42 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0 s | 0% | |
Children (called functions)
No childrenM-Lint results
No M-Lint messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 4 |
Non-code lines (comments, blank lines) | 2 |
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
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.