No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
A Vandermonde matrix inversion

3.5 | 2 ratings Rate this file 4 Downloads (last 30 days) File Size: 1.03 KB File ID: #8048 Version: 1.0

A Vandermonde matrix inversion


Steven Huang (view profile)


17 Jul 2005 (Updated )

The M-file inverses a kind of Vandermonde matrix by using Stirling polynomial coefficients.

| Watch this File

File Information

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.

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
28 Apr 2006 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.

23 Jul 2005 Nit Picker

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

Contact us