Mathematica 9 is now available
Services & Resources / Wolfram Forums
MathGroup Archive
*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
  • Subject: [mg47595] RE: [mg47330] Count
  • From: "Dr A.H. Harker" <a.harker at>
  • Date: Sat, 17 Apr 2004 02:31:36 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Count[x, a_ /; (a > 1) && (a < 3)]
Length[Select[x, (# > 1) && (# < 3) &]]

 Tony Harker
 University College London
 Gower Street
 WC1E  6BT
 (44)(0)207 679 3404
 a.harker at

-----Original Message-----
From: paolo [mailto:tarpanelli at] 
To: mathgroup at
Subject: [mg47595] [mg47330] Count

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


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



  • Prev by Date: Re: Alternative to defining 'operator' function?
  • Next by Date: Programming style
  • Previous by thread: RE: Count
  • Next by thread: Re: Music to Mathematica