This is a static copy of a profile report

Home

flipud (55 calls, 0.000 sec)
Generated 05-Aug-2011 13:02:29 using cpu time.
function in file /usr/local/MATLAB/R2011a/toolbox/matlab/elmat/flipud.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
scribe/private/get_legendable_childrenfunction13
scribe.legend.methods>set_contextmenusubfunction42
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
21
y = x(end:-1:1,:);
550 s0%
18
if ~ismatrix(x)
550 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function21
Non-code lines (comments, blank lines)17
Code lines (lines that can run)4
Code lines that did run2
Code lines that did not run2
Coverage (did run/can run)50.00 %
Function listing
   time   calls  line
1 function y = flipud(x)
2 %FLIPUD Flip matrix in up/down direction.
3 % FLIPUD(X) returns X with columns preserved and rows flipped
4 % in the up/down direction. For example,
5 %
6 % X = 1 4 becomes 3 6
7 % 2 5 2 5
8 % 3 6 1 4
9 %
10 % Class support for input X:
11 % float: double, single
12 %
13 % See also FLIPLR, ROT90, FLIPDIM.
14
15 % Copyright 1984-2010 The MathWorks, Inc.
16 % $Revision: 5.9.4.5 $ $Date: 2010/08/23 23:08:00 $
17
55 18 if ~ismatrix(x)
19 error(message('MATLAB:flipud:SizeX'));
20 end
55 21 y = x(end:-1:1,:);