MAE 08 Lecture 20: Chapter 8
Document Summary
Data structures are variables that can store more than one value. There are many different kinds of data structures: arrays like vectors and matrices. So far, the array only stores the same type of data: either numeric or characters. Cell array is a kind of data structure that can store values of different type. Structures are data structures that group together values that logical related, but are not necessarily of the same type. Cell arrays are used to store data of different types: numbers & strings of different length. Cell arrays are created like vectors/matrices except square brackets [ ] are replaced with curly braces { } Cell arrays can be row or column vectors where each element can be of different types. Cell indexing: use parenthesis for the subscript references to the cell to get high-level view. Content indexing: use curly braces for the subscript reference to content of a cell.