selectMaxbyRow

find maximum in each column

Syntax

[A,varargout] = selectMaxbyRow(A,'param1',val1,'param2',val2)