Member of the matrix class.
c = vander(a)
Computes the Vandermonde matrix of a given vector. The elements of a Vandermonde matrix are consecutive powers of the input elements.
| Name | Description |
| a | Specifies a vector. |
| Name | Description |
| c | Returns the Vandermonde matrix of a. The (i, j)-th element of c is a(i)^length(a)-j). c is a square matrix of the same length as a. |
A = [1, 2, 3, 4]
C = vander(A)