mat2cell
Convert array to cell array whose cells contain subarrays
Description
C = mat2cell(
divides array A,dim1Dist,...,dimNDist)A into smaller arrays and returns them in cell array
C. The vectors dim1Dist,...dimNDist specify how to
divide the rows, the columns, and (when applicable) the higher dimensions of
A. The smaller arrays in C can have different sizes.
A can have any data type.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced before R2006a
