If I have a sequnce of numbers (1 : 40) I want to create a cell which splits that sequence into ({1 : 20} {21 : 40}) or of I want to go a step further ({1 : 10}{11 : 20}{21 : 30}{31 : 40}) and so on.
MATLAB: How to create a cell that splits a sequence of numbers (1 : n) in equal parts
cell arraysMATLAB
Best Answer