From: Michael on
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
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
search for ndsparse matlab in google. There is a nice n
dimensional package called ndsparse.zip. It will do what
you want.