MATLAB: How to find minimum values of all lines on matrix

MATLABmatrixminimumvalue

i have a 1180×231 matrix named ''A''. i need to create a 1180×1 or 1×1180 matrix named ''B'' that gives minimum values of lines from ''A''.

Best Answer

B = min(A, [], 2);