Community Profile

Contact

Top 5% contributor

Try this: http://www.mathworks.com/matlabcentral/fileexchange/23488-sparse-sub-access Worked like a charm for me when I had th...

9504 views

Responded 5 years ago

I made typo explaining the middle layers. No there's only edges to lower and the same level... There should be a third set of B ...

8241 views

I started by just writing the adjacency matrix for a smaller (4x4 nodes network). In order to keep track of the geometry, I numb...

Ok, I managed to do build the adjacency matrix of the network that I was trying to make. I used a sparse-matrix and with the no...

Actually the nodes in the matrix should have 24 arcs each because they are connected only to the neighbor nodes (excluding nodes...

I'm trying to form an adjacency matrix of a three-dimensional evenly spaced network(graph) where one can move to every neighbor...

Posted 5 years ago

I came up with this not-so-elegant solution: The idea is to find the first and last non-nan indexes and then replace the corresp...

7158 views

Is it possible to form a sparse matrix that has its non-zero values in single precision. I'm handling huge (over 100,000 x 100,0...

5146 views

Thank you very much Walter. I used your method for a lot of different set of points and it seems to work quite well.

5000 views

Of course I forgot to mention that the points take a rectangular form if viewed from xz-plane. If I try to use fit-function with...

It seems that this is too complicated for me: I have four points p1, p2, p3 and p4 in 3D space (x y z). What I'm trying to ...

Paggypantsed!

2916 views

I also came up with another pretty fast solution, but it's quite messy If I take the number of nodes I have and for a 3-d matr...

1573 views

The &-operator seemed to be quite fast compared to my approach. Thank you very much for the help!

Hi all, I'm trying to find an easy solution for the following problem: I have a matrix Nx4 in which I have stored coordinates...

1489 views

Hi! I'm solving quite large shortest path problems with matlabBGL (which is great btw). I have several weight matrices represe...

1322 views

Hi again, I'm using some quite large sparse matrices while solving network/graph problems with MatlabBGL algorithms ( http://w...

1223 views

Forgot to say that I know I can represent 3-6 as {3,4,5,6}. But the values that determine the the boundaries are not constant, b...

956 views

Hi again and sorry (again) for my lack of knowledge and wits to find an answer by myself. I'm trying to use switch in the foll...

Do you know the length of the "longest" vector? You could pre-allocate the matrix with that lenght as A=zeros(iterations,maxle...

761 views