Programming Previous page   Next Page

Applying Functions and Operators

Use indexing to apply functions and operators to the contents of cells. For example, use content indexing to call a function with the contents of a single cell as an argument:

To apply a function to several cells of a non-nested cell array, use a loop:


Previous page  Replacing Lists of Variables with Cell Arrays Organizing Data in Cell Arrays Next page

© 1994-2005 The MathWorks, Inc.