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 comments
Loading...
Problem Recent Solvers113
Suggested Problems
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
560 Solvers
-
Remove the two elements next to NaN value
710 Solvers
-
Reverse the elements of an array
1127 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1270 Solvers
-
Convert Two Character String into a Binary Vector
241 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!