MATLAB: Detect row and column digital image processingimage processingImage Processing Toolbox how to know value for minimum and maximum of row and column Best Answer X = randn(10,5);min(X,[],1)min(X,[],2)max(X,[],1)max(X,[],2) Related SolutionsMATLAB: How to find the maximum of a given matrix and then locate the minimum value along the row of the maximum value [v_max,jj] = max(max(a,[],2));out_min = min(a(jj,:));or[ii,~] = find(max(a(:))==a);out = min(a(ii,:)); MATLAB: How can I get the min and corresponding max in matrix Try this:x=[5 2; 4 1; 1 3];% Get max in either columnmaxValue = max(x(:))% Find out what row and column it apepars at.[row, column] = find(x == maxValue)% Get the min value at that row.minValue = min(x(row, :)) Related QuestionMaximum of a row in a matrixDetecting objects
Best Answer