This is a static copy of a profile reportHome
ppual>get_index (2 calls, 0.000 sec)
Generated 05-Nov-2014 07:53:55 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/curvefit/splines/ppual.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Function Name | Function Type | Calls |
ppual | function | 2 |
Lines where the most time was spent
No measurable time spent in this functionLine Number | Code | Calls | Total Time | % Time | Time Plot |
159 | NaNx = find(index==0); index =... | 2 | 0 s | 0% |  |
158 | [~, index] = histc(sites,[-inf... | 2 | 0 s | 0% |  |
157 | if isempty(left)||left(1)~='l' | 2 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0 s | 0% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 10 |
Non-code lines (comments, blank lines) | 3 |
Code lines (lines that can run) | 7 |
Code lines that did run | 3 |
Code lines that did not run | 4 |
Coverage (did run/can run) | 42.86 % |
Function listing
time calls line
154 function [index,NaNx] = get_index(mesh,sites,left)
155 %GET_INDEX appropriate mesh intervals for given ordered data sites
156
2 157 if isempty(left)||left(1)~='l'
2 158 [~, index] = histc(sites,[-inf,mesh,inf]);
2 159 NaNx = find(index==0); index = min(index,numel(mesh)+1);
160 else
161 [~, index] = histc(-sites,[-inf,-fliplr(mesh),inf]);
162 NaNx = find(index==0); index = max(numel(mesh)+2-index,1);
163 end