samer@22: % unitmax - columnwise multiplicative normalisation maximum value samer@4: % samer@22: % unitmax :: [[N,M]] -> [[N,M]]. samer@22: function B=unitmax(A), B=divnorm(@(x)max(x,[],1),A); end samer@4: