MATLAB: Given a 5*5 matrix, how to find the element in the 3rd row and 4th column

finding elementsmatrix

The largest element in each column the smallest element in each row

Best Answer

YourMatrix(3,4) %3rd row 4th column
max(YourMatrix) %largest element in each column
min(YourMatrix,2) %smallest element in each row