MathGroup Archive 2004

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

Search the Archive

Re: Count

  • To: mathgroup at smc.vnet.net
  • Subject: [mg47339] Re: Count
  • From: bobhanlon at aol.com (Bob Hanlon)
  • Date: Tue, 6 Apr 2004 06:36:22 -0400 (EDT)
  • References: <c4re7c$mhs$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Count[x, _?(1<#<3&)]

or

Length[Select[x,1<#<3&]]


Bob Hanlon

In article <c4re7c$mhs$1 at smc.vnet.net>, "paolo " <tarpanelli at libero.it> wrote:

<< if i have a time serie, how can i Count the elements of this time serie that
are within a defined range
Example:

x={1,1.023,1.056,2.45,5.67,....}

how can i Count the elements inside the range (1,3)?


  • Prev by Date: Signals and Systems Package
  • Next by Date: Re: Count
  • Previous by thread: Re: Count
  • Next by thread: Re: Count