view misc/normData.m @ 10:686d1f9b8698

bug fixes for treeLinkFeatures, to allow full traversing of a tree, and producing relevant features at each crossing pointWq
author DaveM
date Fri, 10 Feb 2017 12:04:23 +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