view misc/normData.m @ 13:b398be42561d

analysing test data, making sense of the treeLinkFeature output and identifying large number of results with features 1 2 3 4 5
author DaveM
date Fri, 10 Feb 2017 18:13:29 +0000
parents 985cd163ba54
children
line wrap: on
line source
function data = normData(data)

for i = 1:size(data,1)
   rn = max(data(i,:)) -  min(data(i,:));
   data(i,:) = (data(i,:) - min(data(i,:))) / rn;
end

end