I am trying to create a 3-dimensional matrix (e.g. 80 x 300 x 350) from an array (dim 80) and an array of 80 300 x 350 matrices. The second dimension in matrices may vary, so it needs to be padded by 0.
Any hint is welcome.
I have tried this:
for i=1:80res(i,:,:)=cell2mat(s1(i));end
and got this:
Subscripted assignment dimension mismatch.
Thank you
Best Answer