No products are associated with this question.
[minval, minpos] = min(YourArray(:)); [minrow, mincol] = ind2sub(size(YourArray), minpos);
The above if you want to know the row and column as well as the value. If you just want the value then
minval = min(YourArray(:));
Play games and win prizes!Learn more