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 of
xx
n
matrix
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 — matrice de Toeplitz, à bandes diagonales constantes choisies
History
Version | Description |
2025.0.0 | Introduction in Scilab. |
Report an issue | ||
<< toeplitz | Matrice - génération | zeros >> |