Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
23 Dec 2008 Kruskal Algorithm Kruskal's algorithm is an algorithm in graph theory that finds a minimum spanning tree for a connect Author: Nickolas Cheilakos merabti, Billal

the code of 'connected' function is not correct. if you want to use this code you have to correct it (it is simple to do). but i think that the code is verry simple to understand and to use.
an other think, we can use the matlab function max(PV,3)' in the place of "fysalida.m"
thanks

15 Oct 2008 Kruskal Algorithm Kruskal's algorithm is an algorithm in graph theory that finds a minimum spanning tree for a connect Author: Nickolas Cheilakos mohammed reda, kheroua

a kadri mourad...es-tu celui que je connais le prof. de geologie a l'ecole des mines de paris...si oui j'aimerais renrer en contact...!

15 Oct 2008 Kruskal Algorithm Kruskal's algorithm is an algorithm in graph theory that finds a minimum spanning tree for a connect Author: Nickolas Cheilakos mohalled reda, kheroua

je voudrais savoir

21 Jun 2008 Gauss elimination with complete pivoting This function calculate Gauss elimination with complete pivoting Author: Nickolas Cheilakos s, sid

Somethings wrong in the calculation of Q. We do not get L*U==P*A*Q;
Consider the matrix below with 1 on the diagonal, -1 in the lower triangle and 1 on the last column. The code below plots the error between L*U and P*A*Q and it is definitely not zero.

N=10;
A=ones(N,N);
A=A-2*tril(A,-1)-triu(A,1);
A(:,N)=1;

[L,U,P,Q]=gecp(A);
mesh(abs(L*U-P*A*Q));

If its just a convention mistake then this is a good code.

31 May 2008 Kruskal Algorithm Kruskal's algorithm is an algorithm in graph theory that finds a minimum spanning tree for a connect Author: Nickolas Cheilakos Wei, Lai

 I think the code is not correct. If we get w=[0 1 0 0;1 0 1 0;0 1 0 0;0 1 0 0], the connected will also be 1.

11 May 2008 Kruskal Algorithm Kruskal's algorithm is an algorithm in graph theory that finds a minimum spanning tree for a connect Author: Nickolas Cheilakos mourad, kadri

10 Jan 2008 Gauss elimination with complete pivoting This function calculate Gauss elimination with complete pivoting Author: Nickolas Cheilakos chadha, daman

example mail

10 Jan 2008 Gauss elimination with complete pivoting This function calculate Gauss elimination with complete pivoting Author: Nickolas Cheilakos chadha, daman

plewase details with example

29 Sep 2007 Gauss elimination with complete pivoting This function calculate Gauss elimination with complete pivoting Author: Nickolas Cheilakos Mouzakis, Kate

29 Sep 2007 Kruskal Algorithm Kruskal's algorithm is an algorithm in graph theory that finds a minimum spanning tree for a connect Author: Nickolas Cheilakos Primof, Jonathan

25 Apr 2007 Kruskal Algorithm Kruskal's algorithm is an algorithm in graph theory that finds a minimum spanning tree for a connect Author: Nickolas Cheilakos Bouchard, Guillaume

I compared this code to the PRIM algortihm
on a dense adjacency matrix of size (100x100):
0.0578 seconds for PRIM algorithm
64.9045 seconds for Kruskal method
This is a huge difference!
Theoretically, the two algorithms have a similar complexity, so I think this code should be improved.

18 Feb 2007 Kruskal Algorithm Kruskal's algorithm is an algorithm in graph theory that finds a minimum spanning tree for a connect Author: Nickolas Cheilakos Mardis, Greg

08 Feb 2007 Kruskal Algorithm Kruskal's algorithm is an algorithm in graph theory that finds a minimum spanning tree for a connect Author: Nickolas Cheilakos Litmaier, John

not simply to use, a real mess! :)

29 Jan 2007 Kruskal Algorithm Kruskal's algorithm is an algorithm in graph theory that finds a minimum spanning tree for a connect Author: Nickolas Cheilakos Kumar, Anima

Simple and easy to use !

30 Dec 2006 Gauss elimination with complete pivoting This function calculate Gauss elimination with complete pivoting Author: Nickolas Cheilakos Trevor, John

Very Useful

25 Dec 2006 Gauss elimination with complete pivoting This function calculate Gauss elimination with complete pivoting Author: Nickolas Cheilakos el moustachir, rachid

21 Dec 2006 Gauss elimination with complete pivoting This function calculate Gauss elimination with complete pivoting Author: Nickolas Cheilakos Cheilakos, Nick

I promise to update soon the documentation. But now I have a problem and I can't do it now.

Why someone use this function?

If you want to find some data about the growth of this method you can't use lu. (Because lu use partitial pivoting)

Also you can use it if you want to study the pivot structure of Hadamard matrices.

21 Dec 2006 Kruskal Algorithm Kruskal's algorithm is an algorithm in graph theory that finds a minimum spanning tree for a connect Author: Nickolas Cheilakos Cheilakos, Nick

I promise to update soon the documentation. But now I have a problem and I can't

21 Dec 2006 Gauss elimination with complete pivoting This function calculate Gauss elimination with complete pivoting Author: Nickolas Cheilakos Adams, Jonh

I agree with Dimitris' comments. LU does partitial pivoting and not complete.

In courses of Numerical Linear Algebra Gauss elimination with complete pivoting is very usefull.

I don't give 5 beucause the lack of documentetion.

20 Dec 2006 Gauss elimination with complete pivoting This function calculate Gauss elimination with complete pivoting Author: Nickolas Cheilakos short, mpampix

20 Dec 2006 Gauss elimination with complete pivoting This function calculate Gauss elimination with complete pivoting Author: Nickolas Cheilakos Simos, Dimitris

I give a 4 out of 5 rating to this submission. It is a really good implementation of GECP, taking full advantage of matlab vectorizing capabililities. I don;t give a 5 to 5 rating, due to the lack of documentation.

I agree with Duane only to one point, to the H1 line; this should point to % GECP Gaussian Elimination Complete Pivoting...

Duane, I firmly believe that you are judging too hard this submission.

Firsty, the built-in function of LU, does partial pivoting and not complete pivoting. So, this submission is worthy of its place here. In addition, an implementation of GECP, so far to my knowledge is wanted in many universities in courses of Numerical Linear Algebra.

20 Dec 2006 Gauss elimination with complete pivoting This function calculate Gauss elimination with complete pivoting Author: Nickolas Cheilakos Hanselman, Duane

This submission uses good syntax and does not ignore vectorization, but (a) it does not use standard MATLAB help such as the H1 line or describe the order of the output arguments, (b) it does not say that this is educational code since the built in function LU does what this function does already so it has no other practical use, (c) it does not have any internal comments that would provide educational value to the user.

After appropriate revision, this is a welcome addition to the FEX. Perhaps there should be an "educational algorithm implementation" category, so that no one confuses code such as this with something already built in to MATLAB.

 

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