Tables

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 Tables and Assign Data to Them or watch Tables and Categorical Arrays.

Functions

Create Tables and Convert Type

table Table array with named variables that can contain different types
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
table2timetable Convert table to timetable
timetable2table Convert timetable to table
vartype Subscript into table or timetable by variable type
convertvars Convert table or timetable variables to specified data type