This is a static copy of a profile reportHome
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)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
8 | xp=+cost.*x+sint.*z; | 5 | 0.022 s | 66.7% |  |
10 | zp=-sint.*x+cost.*z; | 5 | 0.011 s | 33.3% |  |
12 | return | 5 | 0 s | 0% |  |
9 | yp=y; | 5 | 0 s | 0% |  |
6 | sint=sin(t); cost=cos(t); | 5 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.033 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]=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