This is a static copy of a profile reportHome
fliplr (1 call, 0.000 sec)
Generated 28-Feb-2011 19:18:38 using cpu time.
M-function in file /Applications/MATLAB_R2010a.app/toolbox/matlab/elmat/fliplr.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Lines where the most time was spent
No measurable time spent in this functionLine Number | Code | Calls | Total Time | % Time | Time Plot |
20 | y = x(:,end:-1:1); | 1 | 0 s | 0% |  |
17 | if ndims(x)~=2 | 1 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0 s | 0% | |
Children (called functions)
No childrenM-Lint results
No M-Lint messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 20 |
Non-code lines (comments, blank lines) | 16 |
Code lines (lines that can run) | 4 |
Code lines that did run | 2 |
Code lines that did not run | 2 |
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-2004 The MathWorks, Inc.
15 % $Revision: 5.9.4.3 $ $Date: 2004/07/05 17:01:14 $
16
1 17 if ndims(x)~=2
18 error('MATLAB:fliplr:SizeX', 'X must be a 2-D matrix.');
19 end
1 20 y = x(:,end:-1:1);