table2array
Convert table to homogeneous array.
📝 Syntax
A = table2array(T)
📥 Input argument
T - table object.
📤 Output argument
A - matrix: single, double, integer types, logical, char, string, struct, cell.
📄 Description
A = table2array(T) converts the input tableT into a homogeneous array A, where the variables inT become the columns of A.
The output A does not retain the table properties fromT.Properties.
IfT is a table with row names, these row names will not be included inA.
💡 Example
A = magic(6);
T = array2table(A);
A = table2array(T)🔗 See also
🕔 History
Version
📄 Description
1.8.0
initial version
Last updated
Was this helpful?