vander
Vandermonde matrix
Syntax
v = vander(x) v = vander(x, n)
Arguments
- x
real or complex vector
- n
integer value, the number of columns of
y. By default, n is equal tosize(x, "*")- v
number of rows ofxxnmatrix
Description
v = vander(x [,n]) returns the Vandermonde matrix. The columns of y
are powers of the x vector.
The Vandermonde matrix is a matrix defined by
, i.e
.
If n is specified, the Vandermonde matrix will have n columns. By default, the
Vandermonde matrix is a square matrix.
Examples
Vandermonde matrix with vector
x = 1:5 v = vander(x)
Vandermonde matrix with n columns
x = 2:2:10 n = 3; v = vander(x, n)
See also
- toeplitz — Toeplitz matrix (chosen constant diagonal bands)
History
| Versão | Descrição |
| 2025.0.0 | Introduction in Scilab. |
| Report an issue | ||
| << toeplitz | Elementary matrices | zeros >> |