Now, there is reason why I don't want to use a max() or similar built-in function to find the maximum value of a matrix. My question is following:
Imagine, we have a matrix, let's call it 'gauss' and looks like this:
gauss = 0 0.2000 0 0.5000 1.0000 0.6000 0 0.3000 0
What I want is to find the maximum, i.e. 1 or the value at gauss(2,2). I need to automize a step search from gauss(1,1) so that I end up finding gauss(2,2) in this entire matrix.
Would be glad if you could give some idea regarding the coding of the steps.
Thanks!
Best Answer