This is a static copy of a profile report

Home

fliplr (2 calls, 0.000 sec)
Generated 05-Nov-2014 07:52:56 using cpu time.
function in file /usr1/opt/matlab/7.13/toolbox/matlab/elmat/fliplr.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
openfig>getTokensubfunction1
eff_PCAfunction1
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
20
y = x(:,end:-1:1);
20 s0%
17
if ~ismatrix(x)
20 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 function20
Non-code lines (comments, blank lines)16
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 = fliplr(x)
2 %FLIPLR Flip matrix in left/right direction.
3 % FLIPLR(X) returns X with row preserved and columns flipped
4 % in the left/right direction.
5 %
6 % X = 1 2 3 becomes 3 2 1
7 % 4 5 6 6 5 4
8 %
9 % Class support for input X:
10 % float: double, single
11 %
12 % See also FLIPUD, ROT90, FLIPDIM.
13
14 % Copyright 1984-2010 The MathWorks, Inc.
15 % $Revision: 5.9.4.5 $ $Date: 2010/08/23 23:07:59 $
16
2 17 if ~ismatrix(x)
18 error(message('MATLAB:fliplr:SizeX'));
19 end
2 20 y = x(:,end:-1:1);