I have a 119 x 49 x 27 (yxz) matrix (A) which is a stack of 27 blocks which make up a larger 2D image. I know that the larger 2D image has 3 x 9 (yx) =27 blocks. I am trying to 'stitch' together the 27 blocks to make the larger image. So far I've got:
B = reshape(A,49*9,119*3);
It generates a 2D matrix B (441 x 357) but is not correct.