table2array
Convert a table to a matrix.
Syntax
Section titled “Syntax”A = table2array(T)Description
Section titled “Description”Concatenates the variables of T horizontally into a single array. All variables must have compatible types and column counts.
Examples
Section titled “Examples”T = table([1; 2], [3; 4]);table2array(T) % [1 3; 2 4]See also
Section titled “See also”array2table— Convert a matrix to a table.table— Create a table — a heterogeneous tabular data container.