i have a 3d matrix P(1000x1000x3
i want to find its' minimum value including location i,j,k
i tried doing this with min(min(min...) but i get very confused
is there an easier way?
No products are associated with this question.
Direct link to this answer:
[v,loc] = min(P(:));
[ii,jj,k] = ind2sub(size(P),loc);
Opportunities for recent engineering grads.