Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

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

Search the Archive

Re: Position

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131147] Re: Position
  • From: Daniel <dosadchy at its.jnj.com>
  • Date: Fri, 14 Jun 2013 05:01:35 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net

This will do:

t = RandomReal[{0, 5}, 100]
Position[t, v_ /; v > 2]

> 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
>



  • Prev by Date: Re: Calculating a simple integral
  • Next by Date: Re: problems with FrameTicks
  • Previous by thread: Re: Position
  • Next by thread: Re: Position