With Nearest
- To: mathgroup at smc.vnet.net
- Subject: [mg121097] With Nearest
- From: graser <graser at gmail.com>
- Date: Sat, 27 Aug 2011 08:17:07 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
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} ) Thanks!
- Follow-Ups:
- Re: With Nearest
- From: Thomas Dowling <thomasgdowling@gmail.com>
- Re: With Nearest
- From: Heike Gramberg <heike.gramberg@gmail.com>
- Re: With Nearest