%% Flip Column Vector
% Create a column vector.

A=(1:10)'

%
% Use flipud to flip the elements of A in the vertical direction.

B = flipud(A)

% The order of the elements in B is reversed compared to A.
% Copyright 2012 The MathWorks, Inc.