12 Reputation

2 Badges

16 years, 150 days

MaplePrimes Activity

These are Posts that have been published by toty

I have a question to find the maximum and minimum element(s) of the matrix and be able to print out their location.(a ij). Where i and j are the rows and colums. All this has to be done in a procedure. I can write code to print the matrix fine. A:=array(1..4,1..4,[10,12,10,2],[12,25,27,3],[8,23,17.4],[6,15,6,2]]); I can clearly seen where the max and min elements are and their locations but how do i weite code to be able to do this. Please any hjelp will be greatly appreciated.
Page 1 of 1