MATLAB: How to find the position of the maximum values in an image we find the max value of an image by max function but i does not know how to find the position of maximum value. Best Answer [max_value max_idx] = max(A);The position is in the second argument, max_idxdoc maxEdit : Also, regarding your previous question : http://www.mathworks.com/matlabcentral/answers/154462-how-to-find-the-maximum-value-of-an-image-by-using-buit-in-function-in-matlabYou should try learning the basics of Matlab with this link , it will be easier than to ask every time you get stuck by something which is written in the documentation . Related SolutionsMATLAB: Locating matrix position of maximum value Use the full return argument of min and max[Y,I] = MAX(X)a=magic(10);[Value,Ind]=max(a(:))[M,N]=ind2sub(size(a),Ind) MATLAB: How to find the maximum value of an image by using buit-in function in matlab max function is a built-in function Related QuestionFinding the contrast ratio of a grayscale image
Best Answer