This is a static copy of a profile reportHome
imresize>triangle (165640 calls, 8.362 sec)
Generated 05-Nov-2014 07:53:47 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/images/images/imresize.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
884 | f = (x+1) .* ((-1 <= x) &am... | 165640 | 5.648 s | 67.5% |  |
All other lines | | | 2.714 s | 32.5% |  |
Totals | | | 8.362 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 2 |
Non-code lines (comments, blank lines) | 1 |
Code lines (lines that can run) | 1 |
Code lines that did run | 1 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
883 function f = triangle(x)
5.65 165640 884 f = (x+1) .* ((-1 <= x) & (x < 0)) + (1-x) .* ((0 <= x) & (x <= 1));
Other subfunctions in this file are not included in this listing.