Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #14854 > unrolled thread
| Started by | Waclaw Kusnierczyk <waku@idi.ntnu.no> |
|---|---|
| First post | 2013-06-14 08:51 +0000 |
| Last post | 2013-06-14 08:51 +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.
Re: Position Waclaw Kusnierczyk <waku@idi.ntnu.no> - 2013-06-14 08:51 +0000
| From | Waclaw Kusnierczyk <waku@idi.ntnu.no> |
|---|---|
| Date | 2013-06-14 08:51 +0000 |
| Subject | Re: Position |
| Message-ID | <kpelir$hsh$1@smc.vnet.net> |
One way is to put a condition on a pattern:
Flatten@Position[t, x_ /; x>2]
See help for Condition.
vQ
On 06/13/2013 08:37 AM, Costa Bravo 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
>
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web