MATLAB: Compare values in a matrix and keep the lowest number in each element

matrixmatrix arraymatrix manipulation

Hi,
I have two matrices of fairly similar values per element. I would like to create a new third matrix which takes the lowest number in each element?
Any help would be greatly appreciated!

Best Answer

Assuming they are the same size
min(A,B)