table2array
Convert table to homogeneous array.
📝Syntax
A = table2array(T)
📥Input Arguments
Parameter Description
T table object.
📤Output Arguments
Parameter Description
A matrix: single, double, integer types, logical, char, string, struct, cell.
📄Description

A = table2array(T) converts the input table T into a homogeneous array A, where the variables in T become the columns of A.

The output A does not retain the table properties from T.Properties.

If T is a table with row names, these row names will not be included in A.

💡Examples
A = magic(6);
T = array2table(A);
A = table2array(T)
🔗See Also
array2tabletable
🕔Version History
Version Description
1.8.0 initial version
Edit this page on GitHub