Arrays in tabular form whose named columns can have different types

table is a data type suitable for column-oriented or tabular data that is often stored as columns in a text file or in a spreadsheet. Tables consist of rows and column-oriented variables. Each variable in a table can have a different data type and a different size with the one restriction that each variable must have the same number of rows. For more information, see Create a Table or watch Tables and Categorical ArraysTables and Categorical Arrays.


table Create table from workspace variables
array2table Convert homogeneous array to table
cell2table Convert cell array to table
struct2table Convert structure array to table
table2array Convert table to homogeneous array
table2cell Convert table to cell array
table2struct Convert table to structure array
readtable Create table from file
writetable Write table to file
istable Determine whether input is table
height Number of table rows
width Number of table variables
summary Print summary of table or categorical array
intersect Set intersection of two arrays
ismember Array elements that are members of set array
setdiff Set difference of two arrays
setxor Set exclusive OR of two arrays
unique Unique values in array
union Set union of two arrays
join Merge two tables by matching up rows using key variables
innerjoin Inner join between two tables
outerjoin Outer join between two tables
sortrows Sort array rows
stack Stack data from multiple variables into single variable
unstack Unstack data from single variable into multiple variables
ismissing Find table elements with missing values
standardizeMissing Insert missing value indicators into table
varfun Apply function to table variables
rowfun Apply function to table rows


Table Properties Access and modify table metadata properties

Related Information

Was this topic helpful?