MAE 08 Lecture 20: Chapter 8

35 views3 pages

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.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents