Learn R Programming

matlab (version 1.0.4.1)

cell: MATLAB cell function

Description

Create cell array.

Usage

cell(...)

Value

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

Arguments

...

numeric dimensions for the result

Author

P. Roebuck proebuck1701@gmail.com

See Also

ones, zeros

Examples

Run this code
cell(3)
cell(c(3, 3))			# same thing
cell(3, 3)			# same thing
cell(size(matrix(NA, 3, 3)))	# same thing

Run the code above in your browser using DataLab