www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/FlipCellArrayExample.m
%% 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)