Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'About counting elements' topicStudent Support Forum > General > Archives > "About counting elements"

Next Comment >Help | Reply To Topic
Author Comment/Response
01/21/13 8:42pm

I am trying to count the times of every number occurred in the ordered list below and produce a list.


{-6,0,0,1,1,1,2,4,4,4,4,4,5} should return to the list {1,0,0,0,0,0,2,3,1,0,5,1}

I've tried


But the output was {0} unfortunately. :(

Can anyone help?

URL: ,

Subject (listing for 'About counting elements')
Author Date Posted
About counting elements Matt 01/21/13 8:42pm
Re: About counting elements Bill Simpson 01/22/13 9:35pm
Re: Re: About counting elements Matt 01/23/13 4:04pm
Re: Re: Re: About counting elements yehuda 01/24/13 05:00am
Another question Matt 01/24/13 12:07pm
Re: Another question yehuda 01/24/13 6:17pm
Re: Another question Bill Simpson 01/24/13 10:59pm
Next Comment >Help | Reply To Topic