Programming Previous page   Next Page

Multidimensional Cell Arrays

Like numeric arrays, the framework for multidimensional cell arrays in MATLAB is an extension of the two-dimensional cell array model. You can use the cat function to build multidimensional cell arrays, just as you use it for numeric arrays.

For example, create a simple three-dimensional cell array C:

The subscripts for the cells of C look like


Previous page  Organizing Data in Multidimensional Arrays Multidimensional Structure Arrays Next page

© 1994-2005 The MathWorks, Inc.