Hi, I have a cell array Cells which is 1 x 190, and each cell is again a 1 x 20 cell array. Now for each cell in this 1 x 20 array I have to add two more cells which contain matrices. I tried doing Cells{1,1}{1,1}{1,1}=mymatrix; Cells{1,1}{1,1}{1,2}=mymatrix2; But I get an error Cell contents assignment to a non-cell array object. I am doing this in a loop like
for i =1:190for j=1:20Cells{1,i}{1,j}{1,1}=mymatrix;Cells{1,i}{1,j}{1,2}=mymatrix2;endend
How can I also speed this up. Thanks
Best Answer