Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Operation on specific cases' topicStudent Support Forum > General > Archives > "Operation on specific cases"

Next Comment >Help | Reply To Topic
Author Comment/Response
Amin
02/25/13 3:08pm

Hi,

I have a matrix of 100 by 2 and I want to find mean of values of the second column conditional on the values of the first column.For example, suppose

a={{1,1,1,2,2,2},{2,4,3,4,5,3}}

I want to have {3,4} as output.I tried "Select" and "Cases" functions but I couldn't do it.

I really appreciates your helps.
Thanks,
Amin.

URL: ,

Subject (listing for 'Operation on specific cases')
Author Date Posted
Operation on specific cases Amin 02/25/13 3:08pm
Re: Operation on specific cases yehuda 02/25/13 11:37pm
Re: Operation on specific cases Bill Simpson 02/26/13 00:26am
Re: Re: Operation on specific cases yehuda 02/27/13 02:12am
Re: Re: Re: Operation on specific cases Amin 02/28/13 4:53pm
Re: Re: Re: Re: Operation on specific cases yehuda 02/28/13 10:51pm
Re: Operation on specific cases Amin 03/01/13 10:33pm
Next Comment >Help | Reply To Topic