sustaining_gazes/matlab_version/face_validation/DeepLearnToolbox/util/normalize.m
2016-04-28 15:40:36 -04:00

4 lines
97 B
Matlab

function x = normalize(x, mu, sigma)
x=bsxfun(@minus,x,mu);
x=bsxfun(@rdivide,x,sigma);
end