MathGroup Archive 2004

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

Search the Archive

Re: Count


Hi,

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

Count[x, i_ /; i >= 1 && i <= 3 ]

??

Regards
  Jens

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


  • Prev by Date: Re: Count
  • Next by Date: RE: Count
  • Previous by thread: Re: Count
  • Next by thread: RE: Count