Answers last question of the assignment about PCA

This commit is contained in:
julien Lengrand-Lambert
2015-12-24 14:16:26 +01:00
parent 50710f0ce2
commit 1f3bea0684
2 changed files with 3 additions and 0 deletions

View File

@@ -21,6 +21,9 @@ X_rec = zeros(size(Z, 1), size(U, 1));
% Notice that U(j, 1:K) is a row vector.
%
U_reduce = U(:, 1:K);
X_rec = Z * U_reduce';
% =============================================================

Binary file not shown.