The dimensionality (or number of dimensions) of m will match the highest dimensionality contained in the cell array.Ĭell2mat is not supported for cell arrays containing cell arrays or objects. The example shown below combines matrices in a 3-by-2 cell array into a single 60-by-50 matrix: A cell array is a data type with indexed data containers called cells, where each cell can contain any type of data. Moreover, for each pair of neighboring cells, the dimensions of the cell's contents must match, excluding the dimension in which the cells are neighbors. The contents of c must be able to concatenate into a hyperrectangle. Cell2mat (MATLAB Functions) MATLAB Function ReferenceĬonvert cell array of matrices into single matrixĬonverts a multidimensional cell array, c, with contents of the same data type into a single matrix, m.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |