MATLAB: Divide a 3D matrix into smaller 3D matrixes 3d matrixdivide Hello, I have a 3D matrix e.g. 100x200x400. How can I divide it into 100 submatrices which dimensions are 100x200x4? Thank you! Best Answer YourCell = mat2cell(size(YourArray,1), size(YourArray,2), 4*ones(size(YourArray,3)/4)); Related SolutionsMATLAB: Divide 3d matrix (840,64,1536) by 1d matrix (1536,1) bsxfun(@rdivide,A,reshape(B,1,1,[])) MATLAB: How to convert large sized 3D matrix to small sized 3D matrix doc interp3should do the job Related QuestionPlot 3D matrix3D plot from 3D matrixHow to split a 3d matrix into sub-3d matricesFraction 3d matrix of 3d matrix
Best Answer