Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7735

select 1st column element based on criteria in 2nd column in mathematica

From Hani <hanisantosa@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject select 1st column element based on criteria in 2nd column in mathematica
Date 2012-01-11 09:18 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jejk5d$arf$1@smc.vnet.net> (permalink)

Show all headers | View raw


hello, I have a question.

Suppose I have a table with two columns like this:

1  3
2  4
3  6
4  1
5  3
6  2
7  5
8  2

I want to select elements of the 1st column which its corresponding 2nd
column elements are bigger than 3. so, the result should be {2,3,7}.  How to
implement that in mathematica? Thanx a lot

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

select 1st column element based on criteria in 2nd column in mathematica Hani <hanisantosa@gmail.com> - 2012-01-11 09:18 +0000

csiph-web