Rank: 1169 based on 123 downloads (last 30 days) and 5 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
13 Dec 2012 Graph incidence matrix to adjacency matrix Conversion from graph incidence matrix to adjacency matrix. Author: Ondrej incidence, adjacency, graph, matrix 26 2
  • 2.0
2.0 | 1 rating
18 Mar 2012 Screenshot mat2fig - Conversion from a matrix to a figure Function for converting a matrix into a figure (eps,fig,jpg,etc.) and latex code. Author: Ondrej matrix, figure, latex 24 0
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 19 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 31 0
06 Jul 2011 Graph adjacency matrix to incidence matrix Conversion from graph adjacency matrix to incidence matrix. Author: Ondrej adjacency, incidence, graph, matrix 23 6
  • 5.0
5.0 | 2 ratings
Comments and Ratings by Ondrej View all
Updated File Comments Rating
28 May 2013 Mittag-Leffler function Calculates the Mittag-Leffler function with desired accuracy. Author: Igor Podlubny

I have one more remark. I found this article on internet:
http://www.bo.infn.it/pinazza/Mainardi/presentazioni/Mainardi/fm60_fcaa_gololu_4.pdf

and it seemed to me that your code is based on it. Probably a reference in your code to this paper (or the theory behind your code), can help other people understand your code.

22 May 2013 Mittag-Leffler function Calculates the Mittag-Leffler function with desired accuracy. Author: Igor Podlubny

I am not sure, but there might be potential bugs in case a=0.

If a=0, code jumps to the end, at tries to evaluate variable "e"..which does not exist.
Also, as far as I know, case a=0, b=1, corresponds to sum of geometric progression (1/(1-z)), therefore a=0, should be allowed in the code.

21 Feb 2012 colorGray Creates full spectrum, blue-green-orange-salmon, colormap that maps to linear grayscale. Author: Alexandre Tumlinson

Other suggestion is to add line:

colormap(rgb2gray(RGBmap));colorbar

in the debugplot option to see the resulting grayscale.

21 Feb 2012 colorGray Creates full spectrum, blue-green-orange-salmon, colormap that maps to linear grayscale. Author: Alexandre Tumlinson

What about adding a next optional parameter which would set the "darkness/lightness", such that the mapping between color and grayscale wouldn't be linear.
Easy way how to do is to add a line, e.g.
RGBmap = brighten(RGBmap,0.2)
The problem is, however, that the mapping is not smooth (as can be seen on the plot, if I do e.g. colorGray(100,1)).

21 Feb 2012 colorGray Creates full spectrum, blue-green-orange-salmon, colormap that maps to linear grayscale. Author: Alexandre Tumlinson

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.

Contact us