Programming | ![]() ![]() |
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:
![]() | Replacing Lists of Variables with Cell Arrays | Organizing Data in Cell Arrays | ![]() |
© 1994-2005 The MathWorks, Inc.