Let say I have a 5x5 matrix
A B C D E
1 5 7 2 3
2 1 9 8 5
3 1 2 3 1
4 1 3 4 2
5 2 9 0 1
and I need to find the max of B
(which would be 5) and its corresponding value in A
(which would be 1), how do I do that?
Let say I have a 5x5 matrix
A B C D E
1 5 7 2 3
2 1 9 8 5
3 1 2 3 1
4 1 3 4 2
5 2 9 0 1
and I need to find the max of B
(which would be 5) and its corresponding value in A
(which would be 1), how do I do that?