4.0

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

Vandermonde matrix

by Siqing Wu

 

29 Jul 2008 (Updated 30 Jul 2008)

No BSD License  

Creating matrix with terms of geometric progression in each row

Download Now | 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
geometric progression Siqing Wu 22 Oct 2008 10:12:18
mathematics Siqing Wu 22 Oct 2008 10:12:18
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com