%% Minimum and Maximum Values of Matrix Rows
% Compute the minimum and maximum values in each row of a matrix.

A = magic(4)
[minA,maxA] = bounds(A,2)

% Copyright 2020 The MathWorks, Inc.