Mathematica 9 is now available

ColumnDrop

ColumnDrop[data, spec] drops columns specified by spec.
ColumnDrop[data, n] removes the first n columns from data.
ColumnDrop[data, -n] removes the last n columns from data.

• Examples: ColumnDrop[{{1, 2, 3}, {4, 5, 6}}, 1] LongRightArrow

.
ColumnDrop[{{1, 2, 3}, {4, 5, 6}}, 2] LongRightArrow  .
ColumnDrop[{{1, 2, 3}, {4, 5, 6}}, -1] LongRightArrow  .
ColumnDrop[{{1, 2, 3}, {4, 5, 6}}, -2] LongRightArrow
.
• See also:
Column, ColumnTake.
    

Examples

Using InstantCalculators

Here are the InstantCalculators for the ColumnDrop function. Enter the parameters for your calculation and click Calculate to see the result.

Entering Commands Directly

You can paste a template for this command via the Text Input button on the ColumnDrop Function Controller.

This defines a 4 Cross 4 matrix called data.

This returns data with the first two columns dropped.

This returns data with the last column dropped.

Clear the variable definition.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.