cell
Create cell array of empty matrices.
📝Syntax
C = cell()
C = cell(m)
C = cell(m, n)
C = cell(m, n, ... , p)
C = cell(sz)
C = cell(A)
📥Input Arguments
Parameter Description
m, n, ... , p dimensions of the cell to create.
sz a vector of integer values (dimensions of the cell to create).
A a string array.
📤Output Arguments
Parameter Description
C a cell
📄Description

cell returns a cell array of empty matrices.

cell() is equivalent to cell(0)

cell(A) with A a string array converts to cell.

💡Examples
A = eye(2, 4);
sz = size(A)
C = cell(sz)
A = ["Nel", "son"; "open", "source"];
C = cell(A)
🔗See Also
structiscell
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub