Programming and Data Types    

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


  Organizing Data in Multidimensional Arrays Multidimensional Structure Arrays