Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Count

  • To: mathgroup at smc.vnet.net
  • Subject: [mg47354] Re: [mg47330] Count
  • From: jmt <jmt at nerim.net>
  • Date: Tue, 6 Apr 2004 06:36:47 -0400 (EDT)
  • References: <200404050923.FAA21903@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

x=Table[Random[Real,{0,10}],{10}] (*generates random data*)

Count[x,_?(2<#<8&)] (*counts elements between 2 and 8 *) 

On Monday 05 April 2004 11:23, paolo 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)?
  >
  > thanks
  >
  > Paolo


  • References:
    • Count
      • From: "paolo " <tarpanelli@libero.it>
  • Prev by Date: Re: Count
  • Next by Date: Re: Count
  • Previous by thread: Re: Count
  • Next by thread: Re: Count