ITEC-200 Chapter Notes - Chapter *: Frustum, Sameer (Lyricist), Matlab

55 views5 pages

Document Summary

A cell array is a data type with indexed data containers called cells. Each cell can contain any type of data. Cell arrays commonly contain lists of text strings, combinations of text and numbers from spreadsheets or text files, or numeric arrays of different sizes. >> mycell = {1, 2, 3; "text", rand(2,3), [11; 12; 13]} mycell = There are two ways to refer to the elements of a cell array: Enclose indices in smooth parentheses, (), to refer to sets of cells for example, to define a subset of the array. Enclose indices in curly braces, {}, to refer to the text, numbers, or other data within individual cells: cell indexing with smooth parentheses, () Cell array indices in smooth parentheses refer to sets of cells. Update sets of cells by replacing them with the same number of cells.

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