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


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

Re: Position

Started byMatthias Bode <lvsaba@hotmail.com>
First post2011-05-25 23:32 +0000
Last post2011-05-25 23:32 +0000
Articles 1 — 1 participant

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


Contents

  Re: Position Matthias Bode <lvsaba@hotmail.com> - 2011-05-25 23:32 +0000

#2709 — Re: Position

FromMatthias Bode <lvsaba@hotmail.com>
Date2011-05-25 23:32 +0000
SubjectRe: Position
Message-ID<irk3hi$781$1@smc.vnet.net>
Hola Joerg:


"Position[expr, pattern] gives a list of the positions at which objects matching _pattern_ appear in expr."

"Select[list,crit] picks out all elements Subscript[e, i] of list for which_crit[Subscript[e, i]]_ is True."

Saludos,

MATTHIAS BODE
S 17.35775=B0, W 066.14577=B0
2'740 m
AMSL.




> Date: Wed, 25 May 2011 05:54:45 -0400
> From: sd-gymwalsrode@gmx.de
> Subject:  Position
> To: mathgroup@smc.vnet.net
>
> Dear Group,
>
> I don't understand the following:
>
> I have a list of data and want to find the position of special elements:
>
> data=Table[CDF[BinomialDistribution[150,0.3],k],{k,0,150}]
>
> Position[data,#>=0.95&]
>
> With this I get {} (null set) as an answer, whereas for example Select gives the answer I expect.
>
> Select[data,#>=0.95&]
>
> Do I do something wrong with Position?
>
> Thanks
>
> Jorg Schroder
> --
> Dr. J=F6rg Schr=F6der
> Gymnasium Walsrode
> Sunderstrasse 19
> 29664 Walsrode
>
> NEU: FreePhone - kostenlos mobil telefonieren!		=09
> Jetzt informieren: http://www.gmx.net/de/go/freephone
>
 		 	   		 

[toc] | [standalone]


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


csiph-web