MathGroup Archive 2005

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

Search the Archive

Re: How to "search" in a matrix?

  • To: mathgroup at
  • Subject: [mg60911] Re: [mg60892] How to "search" in a matrix?
  • From: Renan <renan.birck at>
  • Date: Mon, 3 Oct 2005 04:06:09 -0400 (EDT)
  • References: <> <>
  • Reply-to: Renan <renan.birck at>
  • Sender: owner-wri-mathgroup at

On 10/2/05, David Park <djmp at> 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.

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?