view misc/normData.m @ 30:b3396ee02c42

include output for each line
author DaveM
date Wed, 15 Mar 2017 11:23:40 +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