I have one very large tall sparse matrix1 (MxN , where M >>>> N)
I want to assign chunks of it to two other very large sparse matrices of size matrix2: MxN1 and matrix3: MxN2 (N1 + N2 != N)
What I am doing right now is
matrix2(1:rowIndex1, 1:colIndex1) = matrix1(1:rowIndex1, 1:colIndex1)
matrix3(1:rowIndex1, 1:colIndex2) = matrix2(1:rowIndex1, colIndex1+1:colIndex1+someK)
This operation is taking forever. Is there a faster way to do this?