Contents Previous Next Subchapters

Vandermonde Matrix
Syntax v = vander(c)
See Also polyfittoeplitz

Description
Returns the Vandermonde matrix corresponding to the integer, real, double-precision or complex vector c. The return value v is a n x n matrix with the same type as c where n is the length of c. The (i,j)-th element of v is given by
                n-j
     v      =  c
      i,j       i

Example
If you enter
     c = [ 1 , 2 , 3 ]
     vander(c)
O-Matrix will reply
     {
     [ 1 , 1 , 1 ]
     [ 4 , 2 , 1 ]
     [ 9 , 3 , 1 ]
     }