ENCMP100 Study Guide - Final Guide: Current Contents
Document Summary
Chapter 10 cell arrays, structures & structure arrays. Arrays are convenient for grouping related variables together. Array- is a data type in which individual elements are of the same type. (e. g. , only doubles, character) Cell array is a data structure that store values of different types (e. g. , strings and doubles) Are created the same way as arrays but here we use these brackets { }, instead of square brackets. Celldisp is a function to show the full contents of a given cell array. Cellplot is a function which plots the given cell array provided: deleting an element replaces the current contents with an empty vector which is also known as an empty matrix/array. Entire row(s) and column(s) could be deleted too just by changing the 2nd input to = cars(3,:) = [] A structure is a data type with a name for the whole data structure in which.