cell
Creates a new empty cell array.
Syntax
cell(m)
cell(m,n)
Inputs
- m
 - Number of rows in the result cell.
 - n
 - Number of columns in the result cell. If omitted, n is assigned to the value of m.
 
Outputs
- R
 - Generated m x n cell array. Each cell contains an empty matrix after generation.
 
Examples
R = cell(2)R  = 
R = 
{
[1,1] [Matrix] 0 x 0
[1,2] [Matrix] 0 x 0
[2,1] [Matrix] 0 x 0
[2,2] [Matrix] 0 x 0
}cell(2,1)R  = 
R = 
{
[1,1] [Matrix] 0 x 0
[2,1] [Matrix] 0 x 0
}