%% Flip Row Vector
% Create a row vector.

A = 1:10

%
% Use fliplr to flip the elements of A in the horizontal direction.

B = fliplr(A)

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