We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b873028 commit d64edc5Copy full SHA for d64edc5
util/normalize.m
@@ -0,0 +1,4 @@
1
+function x = normalize(x, mu, sigma)
2
+ x=bsxfun(@minus,x,mu);
3
+ x=bsxfun(@rdivide,x,sigma);
4
+end
0 commit comments