help to find position location
- To: mathgroup at smc.vnet.net
- Subject: [mg86555] help to find position location
- From: haitomi <tpnycity at yahoo.com>
- Date: Thu, 13 Mar 2008 20:51:07 -0500 (EST)
Hello All,
t = Table[RandomInteger[{30, 99}], {i, 1, 3}, {j, 1, 4}]
max = Map[Max, t]
pos=Position[.........]
I stuck to find the position of each row.
Example, if I run the table above they will generate for the following 3 X 4 matrix
{
{82, 71, 62, 47},
{52, 96, 31, 36},
{94, 52, 86, 12},
}
and the the result of position I need will be
{1,2,1}
Anyone can help me.......
Thank you all,
Tomi