M = cell2mat(ce)
| Parameter | Description |
|---|---|
| ce | a cell. |
| Parameter | Description |
|---|---|
| M | array. |
M = cell2smat(ce) creates a single matrix by merging all elements within the cell array ce into a multi-dimensional array. The elements in c can consist of numeric, logical, or character matrices, cell arrays, or structs, and they must be compatible for concatenation using cat function.
C = {[10], [20 30 40]; [90; 50], [60 76 88; 110 111 112]};
M = cell2mat(C)
| Version | Description |
|---|---|
| 1.0.0 | initial version |