MATLAB: How to find biggest element of the array array I am aware max(A) will give me the biggest element, however it gives me another array with all the biggest elements. Is there a way to do something like max(max(A))? Best Answer max(A(:)) Related SolutionsMATLAB: How to find a pixel which has the highest value? (grayscale image) As I is a matrix,, you have to use max twice or use an array instead of matrix. max_pixel = max(max(a)) ; min_pixel = min(min(a)) ; Or usemax_pixel = max(a(:)) ; min_pixel = min(a(:)) ; MATLAB: Return index of biggest element in a row-matrix. A - your matrix[c,index] = max(A,[],2) Related QuestionFinding the last maximum value in a vectorHow to find the maximum number and minimum number in a matrix
Best Answer