array2table
Convert homogeneous array to table.
Syntax
T = array2table(A)
Input argument
A - matrix: single, double, integer types, logical, char, string, struct, cell.
Output argument
T - Table object.
Description
T = array2table(A) converts an m-by-n array A into an m-by-n table, where each column of A becomes a variable in the resulting table T.
By default, array2table uses the name of the input array, combined with the column number, to create variable names in the table. If these names are not valid identifiers, it assigns default names of the form 'Var1', 'Var2', ... , 'VarN', where N is the number of columns in A.
Example
See also
History
Author
Allan CORNET
Last updated