- added

git-svn-id: http://moon:8086/svn/matlab/trunk@93 801c6759-fa7c-4059-a304-17956f83a07c
This commit is contained in:
2016-07-12 16:24:41 +00:00
parent b8abc7cbb6
commit 010339fadb
3 changed files with 140 additions and 1 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ xPCAWhite = diag(sqrt(1./(diag(S) + epsilon))) * xrot;
% becoming smaller.
%%% YOUR CODE HERE %%%
xpca_nonreg = diag(sqrt(1./(diag(S) + 1e-6))) * xrot;
xpca_nonreg = diag(sqrt(1./(diag(S)))) * xrot;
sigma = xpca_nonreg * xpca_nonreg' / size(xpca_nonreg, 2);
% Visualise the covariance matrix. You should see a red line across the