%% Find the Vandermonde Matrix for Vector Input
% Use the colon operator to create vector v. Find the Vandermonde matrix for v.

v = 1:.5:3
A = vander(v)

% Find the alternate form of the Vandermonde matrix using fliplr.
%

A = fliplr(vander(v))

% Copyright 2012 The MathWorks, Inc.