Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124139] select 1st column element based on criteria in 2nd column in mathematica
  • From: Hani <hanisantosa at gmail.com>
  • Date: Wed, 11 Jan 2012 04:18:03 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

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



  • Prev by Date: Re: How to plot divergence of gradient as contour plot
  • Next by Date: Is it possible to flatten hash table?
  • Previous by thread: Generalization of Gauss map not plotting all
  • Next by thread: Re: select 1st column element based on criteria in 2nd column in mathematica