|
[Date Index]
[Thread Index]
[Author Index]
RE: Count
- To: mathgroup at smc.vnet.net
- Subject: [mg47595] RE: [mg47330] Count
- From: "Dr A.H. Harker" <a.harker at ucl.ac.uk>
- Date: Sat, 17 Apr 2004 02:31:36 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Count[x, a_ /; (a > 1) && (a < 3)]
or
Length[Select[x, (# > 1) && (# < 3) &]]
Tony Harker
University College London
Gower Street
LONDON
WC1E 6BT
(44)(0)207 679 3404
a.harker at ucl.ac.uk
-----Original Message-----
From: paolo [mailto:tarpanelli at libero.it]
To: mathgroup at smc.vnet.net
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
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: Alternative to defining 'operator' function?
Next by Date:
Programming style
Previous by thread:
RE: Count
Next by thread:
Re: Music to Mathematica
|