Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #14871 > unrolled thread

Re: Position

Started byJoug Raw <jougraw@gmail.com>
First post2013-06-15 08:14 +0000
Last post2013-06-15 08:14 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Position Joug Raw <jougraw@gmail.com> - 2013-06-15 08:14 +0000

#14871 — Re: Position

FromJoug Raw <jougraw@gmail.com>
Date2013-06-15 08:14 +0000
SubjectRe: Position
Message-ID<kph7oj$2dm$1@smc.vnet.net>
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
>
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web