Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Count' topicStudent Support Forum > General > Archives > "Count"

Next Comment >Help | Reply To Topic
Author Comment/Response
guilherme
07/21/13 12:19pm

Hi guys, I'm trying to use the command Count, but I want to count just the negative terms. For example,

Count[{2, 4, 5, -7, 1, -8}, "pattern"]

What is the pattern that I use for negative numbers? In this case the correct answer would be 2(-7 and -8)

URL: ,

Subject (listing for 'Count')
Author Date Posted
Count guilherme 07/21/13 12:19pm
Re: Count Peter Pein 07/22/13 03:14am
Re: Count Bill 07/22/13 11:09am
Re: Count jf 07/22/13 11:25am
Next Comment >Help | Reply To Topic