| Contents | Index |
A = vander(v)
A = vander(v) returns the Vandermonde matrix whose columns are powers of the vector v, that is, A(i,j) = v(i)^(n-j), where n = length(v).
vander(1:.5:3)
ans =
1.0000 1.0000 1.0000 1.0000 1.0000
5.0625 3.3750 2.2500 1.5000 1.0000
16.0000 8.0000 4.0000 2.0000 1.0000
39.0625 15.6250 6.2500 2.5000 1.0000
81.0000 27.0000 9.0000 3.0000 1.0000

Explore how to use MATLAB to make advancements in engineering and science.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |