Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*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 2006

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

Search the Archive

Re: Count Function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg65518] Re: [mg65501] Count Function
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Thu, 6 Apr 2006 06:52:00 -0400 (EDT)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

Count[X[[All,14]], _?(#>-9&)]


> 
> From: Gregory Lypny <gregory.lypny at videotron.ca>
To: mathgroup at smc.vnet.net
> Subject: [mg65518] [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



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