Data Structure Commands arrayfun Evaluates the function func on each element of the array m. Each element is passed into the function individually. bsxfun Evaluates the function func on the elements (element-wise operation) of the input matrices. cat Joins the given arrays along a specified dimension, dim. cell Creates a new empty cell array. cell2mat Converts a cell array to a matrix. cell2struct Converts the cell a to a struct. The number of fields b must match number of dimensions c. celldisp Displays the content of the cell array x. cellfun Evaluates the function func on the cell array c. Each element is passed into the function individually. fieldnames Returns a cell array of strings with the names of the fields in the specified struct. getfield Extract a field value from a structure s. iscell Tests if a value is a cell array. iscellstr Indicates whether each element of a cell array is a string. iscolumn Tests if v is a column vector of dimension M x 1, where M is a non-negative integer. isfield Returns true if x is a struct and contains the field 'field'. isfinite Tests if a value is finite. isrow Tests if v is a row vector of dimension 1 x N, where N is a non-negative integer. isstruct Tests if a value is a struct. mat2cell Converts a 2D matrix, m, to a cell array, R. num2cell Returns a cell array after converting a complex, 2D matrix, scalar or string input. rmfield Returns a copy of the structure s with the field f removed. setfield Sets the value of field f in the stucture s to the value v. sortrows Returns matrix, R, which is the result of sorting rows of matrix, m, based on the columns listed, columns. struct Creates one or more structs with the specified fields and values. structfun Evaluates the function func on the fields of the structure s. Each field is passed into the function individually. struct2cell Creates a cell array from the struct s. subsasgn Assigns a value to an element of a cell or matrix.