This is a static copy of a profile report

Home

fitOneOverF>oneOverFSpectrum (147056 calls, 11.345 sec)
Generated 05-Aug-2011 13:03:54 using cpu time.
subfunction in file /home/LeechJ/cbass_analysis/reduc/fitOneOverF.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
fitOneOverF>residualnested function146226
fitOneOverFfunction830
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
113
Ys = (1.0 +(fknee./f).^alpha)*...
1470569.159 s80.7%
114
end
1470560.525 s4.6%
111
white = params(3);
1470560.131 s1.2%
110
fknee = params(2);
1470560.109 s1.0%
109
alpha = params(1);
1470560.098 s0.9%
All other lines  1.323 s11.7%
Totals  11.345 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function8
Non-code lines (comments, blank lines)3
Code lines (lines that can run)5
Code lines that did run5
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
107 function Ys = oneOverFSpectrum(f,params)
108 % Functional form of the spectrum to fit to the data
0.10 147056 109 alpha = params(1);
0.11 147056 110 fknee = params(2);
0.13 147056 111 white = params(3);
112
9.16 147056 113 Ys = (1.0 +(fknee./f).^alpha)*(white^2);
0.52 147056 114 end

Other subfunctions in this file are not included in this listing.