logo for matrixlab-examples.com
leftimage for matrixlab-examples.com

Cell Arrays - Video tip on Matlab



The cell array is a very powerful array (vector or matrix) type that is available in Matlab. Informally speaking, a cell array is a heterogenous array type, meaning that different elements in the array can contain variables of different types (including other cell arrays).


Description:
a = cell(n) creates an n-by-n cell array of empty matrices. An error message appears if n is not a scalar.

a = cell(m, n) or a = cell([m, n]) creates an m-by-n cell array of empty matrices. Arguments m and n must be scalars.

Some built-in functions related to this type of arrays:
INTERSECT, ISMEMBER, SETDIFF, SETXOR, UNION, UNIQUE.

 
 
 
 From 'Cell Arrays video' to home

 From 'Cell Arrays video' to 'Matlab Tutorial'
 
Top

Cell-array examples




footer for cell arrays video page