MathGroup Archive 2011

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

Search the Archive

With Nearest

  • To: mathgroup at
  • Subject: [mg121097] With Nearest
  • From: graser <graser at>
  • Date: Sat, 27 Aug 2011 08:17:07 -0400 (EDT)
  • Delivered-to:

Dear Mathematica group,
I have a simple question for you.
Let's say there is an array or matrix like

AA = {{1.3, 1.5}, {21.5, 23.6}, {10, 19}};

If I want to extract a list whose second element is close to 20, How
can I do it with Nearest function?
Or is there any other method possible?
( In this case, the answer should be {10, 19} )


  • Prev by Date: Calling Mathematica from Java
  • Next by Date: Function of N variable
  • Previous by thread: Calling Mathematica from Java
  • Next by thread: Re: With Nearest