ColumnTake• ColumnTake[data, spec] takes the columns specified by spec. • ColumnTake[data, n] takes the first n columns from data. • ColumnTake[data, -n] takes the last n columns from data. • Examples: ColumnTake[{{1, 2, 3}, {4, 5, 6}}, 1] . • ColumnTake[{{1, 2, 3}, {4, 5, 6}}, 2] . • ColumnTake[{{1, 2, 3}, {4, 5, 6}}, -1] . • ColumnTake[{{1, 2, 3}, {4, 5, 6}}, -1] . • See also: Column, ColumnDrop.  Examples Using InstantCalculatorsHere are the InstantCalculators for the ColumnTake function. Enter the parameters for your calculation and click Calculate to see the result.
Out[1]= |  |
Out[2]= |  |
Out[3]= |  |
Entering Commands DirectlyYou can paste a template for this command via the Text Input button on the ColumnTake Function Controller. This defines a 4 4 matrix called data.
Out[4]= |  |
This returns the first 2 columns of data.
Out[5]= |  |
This returns the last column of data.
Out[6]= |  |
Clear the variable definition.
|