This is a static copy of a profile reportHome
polyfit>warnIfLargeConditionNumber (202 calls, 0.300 sec)
Generated 05-Nov-2014 07:52:57 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/matlab/polyfun/polyfit.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Function Name | Function Type | Calls |
polyfit | function | 202 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
94 | flag = (condest(R) > 1e+10)... | 202 | 0.290 s | 96.7% |  |
93 | if isa(R, 'double') | 202 | 0 s | 0% |  |
All other lines | | | 0.010 s | 3.3% |  |
Totals | | | 0.300 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
condest | function | 202 | 0.290 s | 96.7% |  |
Self time (built-ins, overhead, etc.) | | | 0.010 s | 3.3% |  |
Totals | | | 0.300 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
92 function flag = warnIfLargeConditionNumber(R)
202 93 if isa(R, 'double')
0.29 202 94 flag = (condest(R) > 1e+10);
95 else
96 flag = (condest(R) > 1e+05);
97 end