Array Blocks of Different Sizes
The function TakeList allows partitioning a given list into sublists of different lengths. It can also partition a matrix or array into smaller blocks of given dimensions.
Take successively longer sublists from the English alphabet.
Take a 5×6 symbolic matrix.
Separate the rows into two groups of lengths two and three and separate the columns into three groups of length two.
ArrayFlatten reconstructs the original matrix.