This is a static copy of a profile reportHome
smoothhist2D_4_Xcorrected>smooth1D (32 calls, 0.514 sec)
Generated 14-Nov-2016 07:47:24 using cpu time.
subfunction in file /home/user/dev/ymap/scripts_seqModules/scripts_WGseq/smoothhist2D_4_Xcorrected.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 |
180 | P = lambda.^2 .* D2'*D2 + 2.*l... | 32 | 0.363 s | 70.6% |  |
181 | Z = (E + P) \ Y; | 32 | 0.131 s | 25.5% |  |
179 | D2 = diff(D1,1); | 32 | 0.020 s | 3.9% |  |
178 | D1 = diff(E,1); | 32 | 0 s | 0% |  |
177 | E = eye(m); | 32 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.514 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Line number | Message |
176 | The value assigned here to 'n' appears to be unused. Consider replacing it by ~. |
Coverage results
Show coverage for parent directory
Total lines in function | 7 |
Non-code lines (comments, blank lines) | 1 |
Code lines (lines that can run) | 6 |
Code lines that did run | 6 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time | calls | line |
---|
| | 175 | function Z = smooth1D(Y,lambda)
|
| 32 | 176 | [m,n] = size(Y);
|
| 32 | 177 | E = eye(m);
|
| 32 | 178 | D1 = diff(E,1);
|
0.02 | 32 | 179 | D2 = diff(D1,1);
|
0.36 | 32 | 180 | P = lambda.^2 .* D2'*D2 + 2.*lambda .* D1'*D1;
|
0.13 | 32 | 181 | Z = (E + P) \ Y;
|
Other subfunctions in this file are not included in this listing.