For input vector ,
the Vandermonde matrix is
The matrix is described by the formula such
that its columns are powers of the vector v
.
An alternate form of the Vandermonde matrix flips the matrix
along the vertical axis, as shown. Use fliplr(vander(v))
to
return this form.