min(m)

The min(m) function returns a vector listing the smallest elements for each column in m.

Example

OML

>> m=[1 -2;-3 4]

1 -2

-3 4

>> min(m)

-3 -2