vandermonde

Version:

Computes the Vandermonde matrix of a given vector. The elements of a Vandermonde matrix are consecutive powers of the input elements.

Syntax

c = vandermonde(a)
Legacy name: vander

Vector.

c

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 = vandermonde(A)

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices