This is a static copy of a profile reportHome
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)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
9 | yp=-sint.*x+cost.*y; | 10 | 0.066 s | 46.2% |  |
8 | xp=+cost.*x+sint.*y; | 10 | 0.066 s | 46.2% |  |
12 | return | 10 | 0 s | 0% |  |
10 | zp=z; | 10 | 0 s | 0% |  |
6 | sint=sin(t); cost=cos(t); | 10 | 0 s | 0% |  |
All other lines | | | 0.011 s | 7.7% |  |
Totals | | | 0.142 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 12 |
Non-code lines (comments, blank lines) | 7 |
Code lines (lines that can run) | 5 |
Code lines that did run | 5 |
Code lines that did not run | 0 |
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