%% Flip Cell Array
% Create a 3-by-2 cell array.

A = {'foo',1000; 999,true; 'aaa','bbb'}

%
% Flip A without specifying the dim argument.

B = flip(A)

%
% Now, flip A along the second dimension.

B = flip(A,2)

% Copyright 2012 The MathWorks, Inc.