This is a static copy of a profile report

Home

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)

Function NameFunction TypeCalls
smoothhist2D_4_Xcorrectedfunction32
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
180
P = lambda.^2 .* D2'*D2 + 2.*l...
320.363 s70.6%
181
Z = (E + P) \ Y;
320.131 s25.5%
179
D2 = diff(D1,1);
320.020 s3.9%
178
D1 = diff(E,1);
320 s0%
177
E = eye(m);
320 s0%
All other lines  0 s0%
Totals  0.514 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
176The value assigned here to 'n' appears to be unused. Consider replacing it by ~.
Coverage results
Show coverage for parent directory
Total lines in function7
Non-code lines (comments, blank lines)1
Code lines (lines that can run)6
Code lines that did run6
Code lines that did not run0
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.