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


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

Re: Position

Started byTomas Garza <tgarza10@msn.com>
First post2013-06-14 08:55 +0000
Last post2013-06-14 08:55 +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 Tomas Garza <tgarza10@msn.com> - 2013-06-14 08:55 +0000

#14862 — Re: Position

FromTomas Garza <tgarza10@msn.com>
Date2013-06-14 08:55 +0000
SubjectRe: Position
Message-ID<kpelp6$htl$1@smc.vnet.net>
Use Condition (/;)
 t=RandomReal[{0,5},100]
Flatten[Position[t, x_ /; x > 2]]


-Tomas

> From: q13a27tt@aol.com
> Subject: Position
> To: mathgroup@smc.vnet.net
> Date: Thu, 13 Jun 2013 02:37:35 -0400
>
> 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