My project right now need to handle extreme size matrices. But I need to split them into equal sizes matrices in terms of a cell column for further calculation.
Right now my method of approach:
Assume A1 is the targeted matrix, where A1= 192x8
If I need to split it into each 8x8 matrix, well 192/8 = 24 cells.
My working on this matter:
d = mat2cell(A1U,[N N N N N N N N N N N N N N N N N N N N N N N N],N) %where N = 8
d = 24x1 cell group
{8×8 double}
{8×8 double}
{8×8 double} ..... total of 24
Although right now I can still handle these kind of sizes, but my target was a 1474560 x 64 matrix.
If so then I need to type 1474560 / 64 = 23040 times of N in the equation.
Is there a better way to tackle this problem?