MATLAB: I cannot find the minimum values for matrix.

errorminminimumnamespaceoverloaded function

theres no problem to find maximum values. but when it come to find minimum values, got error as below.
can somebody tell me what is the error mean ? and how exactly to find the minimum values in each colum in matrix T ?
Thank you,
T =
1.0000 242.0000 24.7385 33.8409 1.0000
2.0000 716.0000 83.2151 50.1744 1.0000
>> M = max (T)
M =
2.0000 716.0000 83.2151 50.1744 1.0000
>> N = min (T)
Array indices must be positive integers or logical values.

Best Answer

Alternative method to find the minium value for each column:
min(T,[],1)