Re: Count Function
- To: mathgroup at smc.vnet.net
- Subject: [mg65515] Re: [mg65501] Count Function
- From: "Erickson Paul-CPTP18" <Paul.Erickson at Motorola.com>
- Date: Thu, 6 Apr 2006 06:51:56 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
- Thread-index: AcZYq1W1GhoQWiDGTTOzbRbc1OS13gAGX2Ow
Length[ Select[x[[All, 14]], # > -9 & ] Select uses criteria while Count uses pattern. -----Original Message----- From: Gregory Lypny [mailto:gregory.lypny at videotron.ca] To: mathgroup at smc.vnet.net Subject: [mg65515] [mg65501] Count Function The syntax will be the death of me. Count[X[[All,14]], -9.] will tally how many elements in column 14 of matrix X are equal to -9, but I can't for the life of me figure out how to get how many are greater than -9. Any hint would be most appreciated. Greg