This is a static copy of a profile report

Home

wrap180 (6 calls, 0.142 sec)
Generated 05-Aug-2011 13:01:32 using cpu time.
function in file /home/LeechJ/cbass_analysis/matutils/wrap180.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
apparentAzElfunction6
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
8
angle(angle<-180) = angle(a...
60.077 s53.8%
9
angle(angle>180)  = angle(a...
60.066 s46.2%
11
return;
60 s0%
All other lines  0 s0%
Totals  0.142 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function11
Non-code lines (comments, blank lines)8
Code lines (lines that can run)3
Code lines that did run3
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
1 function angle = wrap180(angle)
2 % function angle = wrap180(angle)
3 %
4 % Wraps angles in angle to the [-180, 180] degree range.
5 %
6
7
0.08 6 8 angle(angle<-180) = angle(angle<-180) + 360;
0.07 6 9 angle(angle>180) = angle(angle>180) - 360;
10
6 11 return;