sustaining_gazes/matlab_version/face_validation/DeepLearnToolbox/util/normalize.m

5 lines
97 B
Mathematica
Raw Normal View History

2016-04-28 21:40:36 +02:00
function x = normalize(x, mu, sigma)
x=bsxfun(@minus,x,mu);
x=bsxfun(@rdivide,x,sigma);
end