view general/numerical/maxnormalise.m @ 4:e44f49929e56

Adding reorganised general toolbox, now in several subdirectories.
author samer
date Sat, 12 Jan 2013 19:21:22 +0000
parents
children 8476b3d9d295
line wrap: on
line source
function B=maxnormalise(A)
% maxnormalise - columnwise multiplicative normalisation maximum value
%
% maxnormalise :: [[N,M]] -> [[N,M]].

B=A./repmat(max(A,[],1),size(A,1),1);