Question: How to get the row and column of a component in a matrix or vector

Is there any function that we can get the row and column of a given component? What if there is several cases? e.g.

restart:
M:=Matrix([[1,2,3],[-4,5,0],[3,9,4]]);
max(M);

what is the coordinates of 9 which is the max in the matrix? What if we had another 9 somewhere else in the matrix?
 

Please Wait...