This is a static copy of a profile reportHome
polyfit>warnIfLargeConditionNumber (240 calls, 0.164 sec)
Generated 05-Aug-2011 13:03:51 using cpu time.
subfunction in file /usr/local/MATLAB/R2011a/toolbox/matlab/polyfun/polyfit.m
Copy to new window for comparing multiple runs
Parents (calling functions)
| Function Name | Function Type | Calls |
| polyfit | function | 240 |
Lines where the most time was spent
| Line Number | Code | Calls | Total Time | % Time | Time Plot |
| 97 | flag = (condest(R) > 1e+10)... | 240 | 0.164 s | 100.0% |  |
| 96 | if isa(R, 'double') | 240 | 0 s | 0% |  |
| All other lines | | | 0 s | 0% |  |
| Totals | | | 0.164 s | 100% | |
Children (called functions)
| Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
| condest | function | 240 | 0.164 s | 100.0% |  |
| Self time (built-ins, overhead, etc.) | | | 0 s | 0% |  |
| Totals | | | 0.164 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
| Total lines in function | 6 |
| Non-code lines (comments, blank lines) | 1 |
| Code lines (lines that can run) | 5 |
| Code lines that did run | 2 |
| Code lines that did not run | 3 |
| Coverage (did run/can run) | 40.00 % |
Function listing
time calls line
95 function flag = warnIfLargeConditionNumber(R)
240 96 if isa(R, 'double')
0.16 240 97 flag = (condest(R) > 1e+10);
98 else
99 flag = (condest(R) > 1e+05);
100 end