4

Can someone help me to get the maximum element of $m\times n$ matrix and corresponding row and column $(i,j)$?

xyz
  • 605
  • 4
  • 38
  • 117
Frey
  • 325
  • 2
  • 8
  • Welcome to Mathematica.SE! I suggest the following:
    1. As you receive help, try to give it too, by answering questions in your area of expertise.
    2. Read the [faq]!
    3. When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge.

    Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign!

    – Szabolcs Apr 02 '15 at 01:32

1 Answers1

2

Try Max[mat] and Position[mat, Max[mat]].

Szabolcs
  • 234,956
  • 30
  • 623
  • 1,263