makecell
Creates a cell array.
Syntax
s = makecell(dims,a1,a2,...an)
Arguments
- dims
a vector with positive integer elements, the cell array dimension
- a1,a2,...,an
Sequence of Scilab variables,
n
must be equal toprod(dims)
- s
resulting cell array
Description
s= makecell(dims,a1,a2,...an)
creates a cell
array of dimensions given by dims
with the
given input arguments. The ai
are stored
along the last dimension first.
Examples
makecell([2,3],1,2,3,'x','y','z')
See also
- cell — creates a cell array of empty matrices
- matrix — reshapes an array with the same number and order of components
- size — size of objects
- brackets [..] — Concatenation. Recipients of an assignment. Results of a function
- cat — stacks vectors matrices or arrays into an hypermatrix or hyperarray
Report an issue | ||
<< iscellstr | cells | num2cell >> |