File Exchange

image thumbnail

A Vandermonde matrix inversion

version (615 Bytes) by Steven Huang
The M-file inverses a kind of Vandermonde matrix by using Stirling polynomial coefficients.

1 Download

Updated 18 Jul 2005

No License

This function inverse a Vandermonde Matrix B.
Matrix B is a n-by-n matrix, its (i,j) entry is i^(j-1),
where i,j = 1,2,...,n
for example, n = 4
B =
1 1 1 1
1 2 4 8
1 3 9 27
1 4 16 64
This routine uses a Stirling polynomial(the first kind) coefficients
For fast operation, a C Stirling coefficient function has
been posted with name: mStirling.c. The C-version of this
inverse function is also available upon request.

Cite As

Steven Huang (2021). A Vandermonde matrix inversion (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

Peter Prins

The function does not invert the Vandermonde Matrix B that is given as an input, but returns the inverse a particular Vandermonde matrix of the same size, to wit the one of which the second column is (1:n).' .

H Chen

Seems to work well for low dimension case. But gets worse quickly as n grows.

You can use the code to invert an Vandermonde matrix with n=20, and multiply it back and compare the result with the identity matrix. The error is huge.

Nit Picker

First sentence should read: "This function inverts..." instead of "This function inverse..."

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!