MATLAB cell function

Description

Create cell array.

Usage

1

Arguments

...

numeric dimensions for the result

Value

Returns list consisting of empty matrices. Defaults to square if dimension argument resolves to a single value.

Author(s)

P. Roebuck proebuck@mdanderson.org

See Also

ones, zeros

Examples

1
2
3
4
cell(3)
cell(c(3, 3))			# same thing
cell(3, 3)			# same thing
cell(size(matrix(NA, 3, 3)))	# same thing

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.