Next: Comma Separated Lists, Previous: Structures, Up: Data Containers [Contents][Index]
It can be both necessary and convenient to store several variables of different size or type in one variable. A cell array is a container class able to do just that. In general cell arrays work just like N-dimensional arrays with the exception of the use of ‘{’ and ‘}’ as allocation and indexing operators.
• Basic Usage of Cell Arrays: | ||
• Creating Cell Arrays: | ||
• Indexing Cell Arrays: | ||
• Cell Arrays of Strings: | ||
• Processing Data in Cell Arrays: |