From: Michael on 4 Sep 2008 14:43 Is there a way to construct an N-dimensional sparse matrix? I have rather large 4 dimensional matrices that could use some sparse-ifying. I tried using a cell array of 2D sparse matrices, but it doesn't handle the same. I'm adding these guys, summing along rows and columns, and doing element by element divides. Any help?
From: Matt on 4 Sep 2008 14:53 The sparse matrix tools are still giving errors like this ------------ >> speye(3)*single(eye(3)) ??? Error using ==> mtimes Sparse single arrays are not supported. ------------ and you're asking for N-D sparse arrays? Reaching for the moon a bit aren't we? :) Anyway, I feel your pain....
From: ra ti on 4 Sep 2008 16:12 search for ndsparse matlab in google. There is a nice n dimensional package called ndsparse.zip. It will do what you want.
|
Pages: 1 Prev: Mahalanobis Distance Calculation Next: bintprog with big data |