FUNCTION REFERENCE

vander

Vandermonde matrix.

Vandermonde matrix.

Syntax

A = vander(c)

Columns are powers of the vector c, highest power first: A(i,j) = c(i)^(m-j) for m = numel(c).

A matrix argument is read column by column. MATLAB's vander takes no second argument.

Example

vander([1 2 3])   % [1 1 1; 4 2 1; 9 3 1]

Differences from MATLAB: real input only.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.