MathGroup Archive 2006

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

Search the Archive

Re: Count Function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg65513] Re: Count Function
  • From: dh <dh at metrohm.ch>
  • Date: Thu, 6 Apr 2006 06:51:53 -0400 (EDT)
  • References: <e1091t$ljd$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hello Gregory,
use a pattern with a condition. E.g.:

x_/;x>-9

Daniel

Gregory Lypny wrote:
> 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: current directory
  • Next by Date: Re: Vector algebra
  • Previous by thread: Re: Count Function
  • Next by thread: Re: Count Function