Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
Documentation Center
Search

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 NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: