I have a matrix D(i,j,k) , and I want to find i , j , k to minimize x :
x = D(i,j,k)
For instance:
D = rand(10,10,10); min(min(min(D))) = 0.5123; %The smallest element in D
What I want to know is the D index, which gives 0.5123
How can i do this? Thanks, Elliot
source share