Abstract:
A device receives, in a technical computing environment (TCE), a first variable with a first data type and a particular number of rows, and receives a second variable with a second data type and the particular number of rows. The second data type may be different than the first data type. The device receives a command to create a table based on the first variable and the second variable, and creates, based on the command, a heterogeneous table that includes the first variable and the second variable. The device stores the heterogeneous table, and/or provides the heterogeneous table for display.
Abstract:
A device receives, in a technical computing environment (TCE), a heterogeneous array that includes columns and rows, and receives a command that references multiple columns and one or more rows of the heterogeneous array. The device determines, based on the command, that the referenced multiple columns of the heterogeneous array include a same data type. The device creates, based on the command and based on determining that the referenced multiple columns of the heterogeneous array include the same data type, a homogeneous array that includes the referenced multiple columns and the referenced one or more rows of the heterogeneous array. The device outputs the homogeneous array for further processing.
Abstract:
A device receives, in a technical computing environment (TCE), a first variable with a first data type and a particular number of rows, and receives a second variable with a second data type and the particular number of rows. The second data type may be different than the first data type. The device receives a command to create a table based on the first variable and the second variable, and creates, based on the command, a heterogeneous table that includes the first variable and the second variable. The device stores the heterogeneous table, and/or provides the heterogeneous table for display.