MathGroup Archive 2005

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

Search the Archive

Re: How to "search" in a matrix?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg60911] Re: [mg60892] How to "search" in a matrix?
  • From: Renan <renan.birck at gmail.com>
  • Date: Mon, 3 Oct 2005 04:06:09 -0400 (EDT)
  • References: <200510020554.BAA01427@smc.vnet.net> <NDBBJGNHKLMPLILOIPPOOECMELAA.djmp@earthlink.net>
  • Reply-to: Renan <renan.birck at gmail.com>
  • Sender: owner-wri-mathgroup at wolfram.com

On 10/2/05, David Park <djmp at earthlink.net> wrote:
> Renan,
>
> Use Position.
>
> matr = {{a, b, 1}, {c, d, 2}, {e, f, 3}};
>
> Position[matr, e]
> {{3, 1}}



GREAT! This is exactly what I was looking for. With further processing,

Thanks for all those that helped, esp. Jean-Marc Gulliet and David
Park: their suggestions were the most useful.

Thanks,
Renan "Wishmaster"
Canoas, Rio Grande do Sul, Brasil


  • Prev by Date: BinCounts
  • Next by Date: LogGamma[z] vs Log[Gamma[z]] behavior
  • Previous by thread: How to "search" in a matrix?
  • Next by thread: Re: How to "search" in a matrix?