Date: Jun 15, 2013 4:14 AM
Author: Dr.J
Subject: Re: Position


Simply do this:

t = RandomReal[{0, 5}, 100]
Position[t, _?(# > 2 &)]


On Thu, Jun 13, 2013 at 8:37 AM, Costa Bravo <q13a27tt@aol.com> wrote:

> How can I find the indices of all elements greaters than e.g. 2 of a
> vector.
>
> t=RandomReal[{0,5},100]
> Position[t,??]
>
> --
> Costa
>
>