This is a static copy of a profile report

Home

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

Parents (calling functions)

Function NameFunction TypeCalls
pointing_modelfunction5
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
8
xp=+cost.*x+sint.*z;
50.022 s66.7%
10
zp=-sint.*x+cost.*z;
50.011 s33.3%
12
return
50 s0%
9
yp=y;
50 s0%
6
sint=sin(t); cost=cos(t);
50 s0%
All other lines  0 s0%
Totals  0.033 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]=rotabouty(x,y,z,t)
2 % [xp,yp,zp]=rotabouty(x,y,z,t)
3 %
4 % Rotate cart coord about y axis by angle t
5
5 6 sint=sin(t); cost=cos(t);
7
0.02 5 8 xp=+cost.*x+sint.*z;
5 9 yp=y;
0.01 5 10 zp=-sint.*x+cost.*z;
11
5 12 return