Finding position of the maximum value of each subset

 Finding position of the maximum value of each subset

I have the following set:

list = {{32/39, 1/5, 0, 0, 0}, {5/33, 3/5, 1/3, 0, 3/4}};

I need to find the position of maximum value from each subset.
I tried

Position[list, Max[list]]

and it gives the position {{1,1}}. But my result should be {{1,1}, {2,5}}/

2 Answers

Let’s block ads! (Why?)

Recent Questions – Mathematica Stack Exchange