MATLAB: Divide a cellarray in n parts cellarray divide I've {A} that is linear cell array 1xN. I would like divide this vector in M parts. {B} is MxL matrix of cell. (MxL=N). Thanks. Best Answer A=num2cell(1:20);out=reshape(A,4,5) Related SolutionsMATLAB: Divide histogram in three parts A + (B - A) /3 A + (B - A) /3 *2 MATLAB: How to cut the half of Structure n=fix(numel(mmm)/2)mmm1=mmm(1:n)mmm2=mmm(n+1:end) Related QuestionDivide data into three partsDivide a cell arrays with a part of another cell arrayRandomly divide vector into 2 parts.Hi i have 1×36 cell,each cell contains 2×2 cell, how to convert it into 4×36 double in matlab
Best Answer