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 and Work with Tables or watch Tables and Categorical Arrays.
Join Tables | Combine two tables using key variables in the Live Editor |
Use tables to store mixed-type data conveniently, access data with numeric or named indexing, and to store metadata.
This example shows how to create a table from workspace variables, work with table data, and write tables to files for later use.
Indexing into tables with parentheses, dot notation, and curly braces accesses table data in different ways. You can use indexing to create a table that is a subset of a larger table or to create an array from data in a table.
This example shows how to perform calculation on tables.
Changes to DimensionNames Property in R2016b
Tables can raise compatibility warnings, and change dimension names, when you modify the DimensionNames property.