Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
07 Nov 2009 find_components finds the connected components of an image Author: Tim Davis Clark, Thomas

Thanks Tim!

This is very popular in the current ML contest (flooding a matrix with colour, Fall 2009).

15 Oct 2009 A pretty seashell GUI A GUI that draws a pretty seashell Author: Tim Davis Diego

27 Sep 2009 Don't let that INV go past your eyes; to solve that system, FACTORIZE! A simple-to-use object-oriented method for solving linear systems and least-squares problems. Author: Tim Davis Luong, Bruno

What mathworks are waiting to incorporate this package into Matlab?

05 Aug 2009 Don't let that INV go past your eyes; to solve that system, FACTORIZE! A simple-to-use object-oriented method for solving linear systems and least-squares problems. Author: Tim Davis Ben

All in all this package is a great idea and it looks like a first class implementation. As such, I'd like to help improve it by pointing out an issue. I am trying to solve Ax=-b, so I type in x=-inverse(A)*b, but I get the following error:

??? Undefined function or method 'uminus' for input arguments of type 'factorization_dense_lu'.

The work around is simple: x=inverse(A)*(-b). However, these are mathematically equivalent, so both should work.

19 Jun 2009 Don't let that INV go past your eyes; to solve that system, FACTORIZE! A simple-to-use object-oriented method for solving linear systems and least-squares problems. Author: Tim Davis LI, Miao

05 Jun 2009 Don't let that INV go past your eyes; to solve that system, FACTORIZE! A simple-to-use object-oriented method for solving linear systems and least-squares problems. Author: Tim Davis Petter

Nice with an update to modern MATLAB OOP.

27 May 2009 Don't let that INV go past your eyes; to solve that system, FACTORIZE! A simple-to-use object-oriented method for solving linear systems and least-squares problems. Author: Tim Davis Petter

This is an excellent piece of software. Makes great use of Matlab's OOP.

18 May 2009 Don't let that INV go past your eyes; to solve that system, FACTORIZE! A simple-to-use object-oriented method for solving linear systems and least-squares problems. Author: Tim Davis Paris, Sebastien

Great !!!

15 May 2009 Don't let that INV go past your eyes; to solve that system, FACTORIZE! A simple-to-use object-oriented method for solving linear systems and least-squares problems. Author: Tim Davis D'Errico, John

Absolutely splendid! Many thanks to Tim for writing this. A great title too.

15 May 2009 Don't let that INV go past your eyes; to solve that system, FACTORIZE! A simple-to-use object-oriented method for solving linear systems and least-squares problems. Author: Tim Davis us

a truly professional and INValuable package written with a twinkle in the (author's) eye and a must look-at for people dealing with linear systems...
one pedestrian thought: why not create a stand-alone object given ML's new and powerful OOP-strength...
us

18 Feb 2009 find_components finds the connected components of an image Author: Tim Davis Petschel, Ben

Nice code Tim. I hadn't come across DMPERM before either.

The variables K, East, South aren't really needed because K(E)=E, K(S)=S, East(E)=E+m, South(S)=S+1, and E & S can be defined without K.

01 Dec 2008 spok: checks if a MATLAB sparse matrix is OK Useful for mexFunction authors only Author: Tim Davis HAN, Qun

Great work. But the submmited file is in c. I want to know if a MATLAB sparse matrix is passed into a FORTRAN mex file how to indexing it?

30 Oct 2008 find_components finds the connected components of an image Author: Tim Davis Eaton, Kenneth

I hadn't ever happened upon DMPERM before. Thanks for pointing out something new, Tim.

30 Oct 2008 find_components finds the connected components of an image Author: Tim Davis D'Errico, John

Professionally written. Excellent help. Internal comments that can teach everyone on the FEX something about how to write code.

30 Oct 2008 find_components finds the connected components of an image Author: Tim Davis P, M

19 Sep 2008 Gaussian Elimination Example (with partial pivoting): GEE, it's simple! A set of simple functions that illustrate Gaussian Elimination with partial pivoting Author: Tim Davis Toljic, Nikola

Great. Thanks.

04 Jun 2008 LINFACTOR: uses LU or CHOL to factorize a matrix, or previously computed factors to solve Ax=b A simple M-file to solve Ax=b using LU or CHOL. Author: Tim Davis Fasih, Ahmed

Note that this works when 'b' is a matrix as well! Works like a charm for Slepian-Bangs formulation for the Cramer-Rao bound!

07 Feb 2008 LINFACTOR: uses LU or CHOL to factorize a matrix, or previously computed factors to solve Ax=b A simple M-file to solve Ax=b using LU or CHOL. Author: Tim Davis Akbar, Shamil

>> F=linfactor(a)
??? Undefined function or method 'minus' for input arguments of type 'cell'.

Error in ==> linfactor at 118
        if (nnz (A-A') == 0 & all (diag (A) > 0)) %#ok

HELP ME,,,,,, I WANT TO USE CHOLESKY TO FACTORIZE MY CORELATION MATRIX

17 Dec 2007 gipper: zip selected files, or exclude selected files Creates a zip file, using regexp to include and/or exclude filenames that match a list of patterns Author: Tim Davis McGowan, John

15 Dec 2007 A pretty seashell a short MATLAB function that displays a pretty seashell Author: Tim Davis Cole, Lamar

Just as the sound of the sea flows through a seashell, the sound of love flows through the heart.

11 Dec 2007 Gaussian Elimination Example (with partial pivoting): GEE, it's simple! A set of simple functions that illustrate Gaussian Elimination with partial pivoting Author: Tim Davis D'Errico, John

As you might expect, this is good code. For a student, you should be able to read through this to see how a well written method for matrix factorization/solution is composed.

One of the things that you would learn from this submission is to use the capabilities of matlab to vectorize your computations. Look in these codes to find that row operations are done in single operations, not using heavily nested loops. The loops are still there of course, but they are implicit loops, and so will be more efficiently executed by matlab. Its easier to read code like this too.

Next, look in gee_its_simple_factorize to see the useful comments before each line. These comments explain what is done in the next step, clearly and readably. They allow you to visualize what is happening, how this code works. And next year, when you need to modify/repair a nasty piece of your own code, you will be very glad that you added comments like this.

Other things to emulate from this code are the copious references. Did I mention LOTS of comments? Help and comments are cheap, but at the same time, priceless.

In general, this is well worth reading. I'll bet that many people will learn something new here, even if you think you already know what an LU factorization is and how to use it. (I picked up something myself.) Of course, if you only want code to use, then the built in \, lu, etc., are the places to look.

23 Aug 2007 hprintf: disable hypertext highlighting hprintf is just like fprintf, except that hypertext links are not highlighted in the command window Author: Tim Davis Kearney, Kelly

Very nice little function, exactly what I was looking for in my comments on Kristin's blog. Thanks.

21 May 2007 gipper: zip selected files, or exclude selected files Creates a zip file, using regexp to include and/or exclude filenames that match a list of patterns Author: Tim Davis Davis, Tim

Regarding the inscrutable error mentioned below. This is because the directory containing gipper.m was not in your MATLAB path. It was simply not found by MATLAB. The gipper cd's to the parent if it needs to create a zip file of the current directory (if it didn't, the zip file would contain odd paths in its contents). After doing "cd ..", it calls itself recursively ... but if the directory containing gipper.m is not in your path, this fails. I added a test for this, and an error "To install the gipper, type 'pathtool' and add the directory in which it resides."

16 May 2007 gipper: zip selected files, or exclude selected files Creates a zip file, using regexp to include and/or exclude filenames that match a list of patterns Author: Tim Davis (us) Schwarz, Urs

tim, several of your examples (when copy/pasted into the command window of a winvista/r2007a) yield an inscrutable error, eg,
- gipper ('', '', '', 0)
- gipper '' '\.m$'
??? Undefined function or method 'gipper' for input arguments of type 'cell'.
us

16 May 2007 gipper: zip selected files, or exclude selected files Creates a zip file, using regexp to include and/or exclude filenames that match a list of patterns Author: Tim Davis D'Errico, John

The gipper is a must have, absolutely so if you have a Mac and you upload .zip files to the FEX. It automatically excludes any hidden files from the zip. My thanks to Tim for writing this.

20 Nov 2006 A pretty seashell a short MATLAB function that displays a pretty seashell Author: Tim Davis beach, shelly

beautiful seashell
:)

20 Sep 2006 Slides for the video "Direct Methods for Sparse Linear Systems : the MATLAB sparse backslash" Slides for a plenary talk at the 2006 SIAM Annual Meeting Author: Tim Davis suliman, Tamir

good and thanks for that but needs to add more detail and examples

24 Aug 2006 A pretty seashell a short MATLAB function that displays a pretty seashell Author: Tim Davis Boaron, Marco

29 Jul 2006 A pretty seashell a short MATLAB function that displays a pretty seashell Author: Tim Davis Davis, Tim

Author's comments: for an explanation of the a, b, c, and n parameters, see "shellgui", also in the MATLAB Central Gallery.

20 Jul 2006 A pretty seashell a short MATLAB function that displays a pretty seashell Author: Tim Davis Koptenko, Sergei

An interesting and beautiful illustration. It would be nice to include some explanation of what exactly parameters n, a, b and c are controling.

20 Jul 2006 A pretty seashell a short MATLAB function that displays a pretty seashell Author: Tim Davis Keats, Brian

Cool.

 

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