This is a static copy of a profile reportHome
massageData>regcut (91 calls, 0.361 sec)
Generated 05-Aug-2011 13:00:44 using cpu time.
subfunction in file /home/LeechJ/cbass_analysis/reduc/flag/massageData.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 |
199 | r=r(ind,:,:); | 30 | 0.361 s | 100.0% |  |
204 | return | 91 | 0 s | 0% |  |
198 | case 3 | 30 | 0 s | 0% |  |
197 | r=r(ind,:); | 61 | 0 s | 0% |  |
196 | case 2 | 91 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.361 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Line number | Message |
191 | The function 'regcut' might be unused. |
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 14 |
Non-code lines (comments, blank lines) | 3 |
Code lines (lines that can run) | 11 |
Code lines that did run | 7 |
Code lines that did not run | 4 |
Coverage (did run/can run) | 63.64 % |
Function listing
time calls line
191 function r=regcut(r,ind)
192
91 193 switch(ndims(r))
91 194 case 1
195 r=r(ind);
91 196 case 2
61 197 r=r(ind,:);
30 198 case 3
0.36 30 199 r=r(ind,:,:);
200 case 4
201 r=r(ind,:,:,:);
202 end
203
91 204 return