view general/numerical/unitmax.m @ 54:9bcf5e133bf0

Added from old stats library.
author samer
date Mon, 23 Feb 2015 16:08:09 +0000
parents 4f5015db91aa
children
line wrap: on
line source
% unitmax - columnwise multiplicative normalisation maximum value
%
% unitmax :: [[N,M]] -> [[N,M]].
function B=unitmax(A), B=divnorm(@(x)max(x,[],1),A); end