MATLAB: Maximum of a row in a matrix maximum row I want the maximum of a specific row in a matrix Best Answer Use max, and some indexing if needed:A = [...]; % some matrixN = 3; % the row that you wantmax(A(N,:)) Related SolutionsMATLAB: Find the min(or max) of the 2nd row of an unknown matrix [value,index]=max(A(2,:))[Value,Index]=min(A(2,:)) MATLAB: Sort rows of a matrix based on their maximum value A = rand(100, 10);maxA = max(A, [], 2);[dummy, index] = sort(maxA);B = A(index, :); Related QuestionMinimum value of rowFind maximum value of each row in a double matrixFind a Maximum in a MatrixFinding index of min value in a matrixI want to find in which row the minimum element is
Best Answer