This commit is contained in:
2017-05-28 17:17:42 +09:00
parent 992a5db5bf
commit 0705953efb
10 changed files with 34 additions and 12 deletions

View File

@@ -26,9 +26,10 @@ sigma = zeros(1, size(X, 2));
% Hint: You might find the 'mean' and 'std' functions useful.
%
mu = mean(X);
X_norm .-= mu;
sigma = std(X);
X_norm ./= sigma;