Problem 43752. Vandermonde Matrix
Create the Vandermonde Matrix of the given vector. The matrix consists of columns as powers of the vector, so the first column is the inverse of the vector raised to 0. The second column is the vector raised to 1, etc.
For example, given the vector:
v=[1 2 3 4 5];
the Vandermonde Matrix would be
Vm= 1 1 1 1 1 1 2 4 8 16 1 3 9 27 81 1 4 16 64 256 1 5 25 125 625
See Vandermonde Matrix for more details.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers108
Suggested Problems
-
Find the sum of all the numbers of the input vector
53425 Solvers
-
Unique values without using UNIQUE function
431 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13500 Solvers
-
The Answer to Life, the Universe, and Everything
572 Solvers
-
1016 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!