Learn R Programming

matlab (version 0.8-2)

cell: MATLAB cell function

Description

Create cell array.

Usage

cell(...)

Arguments

...
numeric dimensions for the result

Value

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

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