This is a static copy of a profile report

Home

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

Parents (calling functions)

Function NameFunction TypeCalls
pointing_modelfunction10
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
9
yp=-sint.*x+cost.*y;
100.066 s46.2%
8
xp=+cost.*x+sint.*y;
100.066 s46.2%
12
return
100 s0%
10
zp=z;
100 s0%
6
sint=sin(t); cost=cos(t);
100 s0%
All other lines  0.011 s7.7%
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 function12
Non-code lines (comments, blank lines)7
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
1 function [xp,yp,zp]=rotaboutz(x,y,z,t)
2 % [xp,yp,zp]=rotaboutz(x,y,z,t)
3 %
4 % Rotate cart coord about z axis by angle t
5
10 6 sint=sin(t); cost=cos(t);
7
0.07 10 8 xp=+cost.*x+sint.*y;
0.07 10 9 yp=-sint.*x+cost.*y;
10 10 zp=z;
11
10 12 return