Rank: 2302 based on 21 downloads (last 30 days) and 4 files submitted
photo

Ondrej

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Ondrej View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
06 Jul 2011 Intersection of linear subspaces Function for finding the basis of the intersection of N subspaces Author: Ondrej intersection, subspace, linear algebra, basis 5 0
06 Jul 2011 Screenshot Plotting planes and their intersection in 3D Function 'plotPlanes' plots planes/lines in 3D; 'plotIntersection' plots intersection of the planes. Author: Ondrej planes, intersection, linear algebra 3 0
06 Jul 2011 Graph adjacency matrix to incidence matrix Conversion from graph adjacency matrix to incidence matrix. Author: Ondrej adjacency, graph, incidence, matrix 8 6
  • 5.0
5.0 | 2 ratings
31 Mar 2011 Graph incidence matrix to adjacency matrix Conversion from graph incidence matrix to adjacency matrix. Author: Ondrej incidence, adjacency, graph, matrix 5 2
  • 2.0
2.0 | 1 rating
Comments and Ratings by Ondrej View all
Updated File Comments Rating
31 May 2011 Graph incidence matrix to adjacency matrix Conversion from graph incidence matrix to adjacency matrix. Author: Ondrej

I don't quite understand what kind of problem you had, Muhammad. The function should return normal adjacency matrix and not adjacency list. Could you please provide some example and the expected result you would want? And of course, if you noticed some incorrect behaviour, I would gladly fix it.

15 Oct 2009 gridcolor Change color of grid lines without changing color of axis labels or box Author: Sebastian Hölz

I have problems with zooming. When I use gridcolor I can't zoom the plots in figure, instead the whole box is getting smaller and smaller.

15 Oct 2009 gridcolor Change color of grid lines without changing color of axis labels or box Author: Sebastian Hölz
10 Jul 2009 Graph adjacency matrix to incidence matrix Conversion from graph adjacency matrix to incidence matrix. Author: Ondrej

I just uploaded an updated version with self-loops checks and I also added an example. However, I left the conversion to sparse matrix unchanged, because I believe that in most cases the adjency matrix will contain "enough" zeros to have the computation more efficient.
btw. I didn't use spdiags because according to my simulations, it is slower than normal diag (and since I use it only for a check, it shouldn't last long).

P.S. Thank you once again Wolfgang for all those hints.

08 Jul 2009 Graph adjacency matrix to incidence matrix Conversion from graph adjacency matrix to incidence matrix. Author: Ondrej

Well, thank you for pointing out those "bugs". You are right about all you said.Actually I already planned to change it to some more efficient algorithm without loops, but as I can see you basically already solved it:-). So thank you. I will soon really simplify the code and post it here.

Comments and Ratings on Ondrej's Files View all
Updated File Comment by Comments Rating
31 May 2011 Graph incidence matrix to adjacency matrix Conversion from graph incidence matrix to adjacency matrix. Author: Ondrej Ondrej

I don't quite understand what kind of problem you had, Muhammad. The function should return normal adjacency matrix and not adjacency list. Could you please provide some example and the expected result you would want? And of course, if you noticed some incorrect behaviour, I would gladly fix it.

23 Apr 2011 Graph incidence matrix to adjacency matrix Conversion from graph incidence matrix to adjacency matrix. Author: Ondrej Shafique, Muhammad

It was of great help. Thanks! Being occasional user of Matlab, however, the ideal output for me would have been a matrix, or at least some properly delimited list. I had a hard time converting the output into proper adjacency matrix I needed. This was due to different number of spaces before, within, and after each element. It would be great if the output is in the form 1,2,3 with no spaces anywhere. I used Matlab7.10 (R2010a).

22 Mar 2011 Graph adjacency matrix to incidence matrix Conversion from graph adjacency matrix to incidence matrix. Author: Ondrej Sergio

Oops! Forget my latter question :-)

22 Mar 2011 Graph adjacency matrix to incidence matrix Conversion from graph adjacency matrix to incidence matrix. Author: Ondrej Sergio

Please, how could I modify it in order to contain +1 and -1 instead of only logical values? Thanks!

10 Jul 2009 Graph adjacency matrix to incidence matrix Conversion from graph adjacency matrix to incidence matrix. Author: Ondrej Ondrej

I just uploaded an updated version with self-loops checks and I also added an example. However, I left the conversion to sparse matrix unchanged, because I believe that in most cases the adjency matrix will contain "enough" zeros to have the computation more efficient.
btw. I didn't use spdiags because according to my simulations, it is slower than normal diag (and since I use it only for a check, it shouldn't last long).

P.S. Thank you once again Wolfgang for all those hints.

Top Tags Applied by Ondrej
adjacency, graph, incidence, intersection, linear algebra
Files Tagged by Ondrej View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
06 Jul 2011 Intersection of linear subspaces Function for finding the basis of the intersection of N subspaces Author: Ondrej intersection, subspace, linear algebra, basis 5 0
06 Jul 2011 Screenshot Plotting planes and their intersection in 3D Function 'plotPlanes' plots planes/lines in 3D; 'plotIntersection' plots intersection of the planes. Author: Ondrej planes, intersection, linear algebra 3 0
06 Jul 2011 Graph adjacency matrix to incidence matrix Conversion from graph adjacency matrix to incidence matrix. Author: Ondrej adjacency, graph, incidence, matrix 8 6
  • 5.0
5.0 | 2 ratings
31 Mar 2011 Graph incidence matrix to adjacency matrix Conversion from graph incidence matrix to adjacency matrix. Author: Ondrej incidence, adjacency, graph, matrix 5 2
  • 2.0
2.0 | 1 rating
18 Feb 2005 Screenshot Adjacency Matrix GUI GUI for drawing a graph and displaying an adjacency matrix for it. Author: Steve Chuang network, example, graphs, gui, gui tools, utilities 27 4
  • 4.25
4.2 | 4 ratings

Contact us at files@mathworks.com