Or you can use a comprehension: SparseMatrixCSC[ mysparsematrix(i) for i = 
1:n ], where mysparsematrix(i) is a function that returns your i-th sparse 
matrix.

Reply via email to