No BSD License  

Highlights from
Vandermonde matrix

4.0

4.0 | 1 rating Rate this file 2 Downloads (last 30 days) File Size: 1.31 KB File ID: #20896

Vandermonde matrix

by Siqing Wu

 

29 Jul 2008 (Updated 30 Jul 2008)

Creating matrix with terms of geometric progression in each row

| Watch this File

File Information
Description

Creates Vandermonde matrix with terms of geometric progression in each row.

It is an extended version of the Matlab function "vander.m".

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
10 Dec 2008 Tim Davis

You should clarify in your help information that the matrix produced has its columns listed in the opposite order of the vander.m function in MATLAB.

Also, providing the determinant is nice, but it would be better to return the log or log10 of the determinant. That way, you can deal with determinants that are very large and very small (it's quite easy for det(A) to underflow or overflow).

Otherwise, nice work, and nicely commented. (You should have a "see also vander" line, though).

Nice use of cumprod. I'm surpised that this function is slower than vander, though.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
linear algebra Siqing Wu 22 Oct 2008 10:12:18
vandermonde matrix Siqing Wu 22 Oct 2008 10:12:18
mathematics Siqing Wu 22 Oct 2008 10:12:18
geometric progression Siqing Wu 22 Oct 2008 10:12:18
geometric progression Mohd 19 Aug 2010 20:50:14

Contact us at files@mathworks.com