Skip to content

Commit

Permalink
change 2 files
Browse files Browse the repository at this point in the history
  • Loading branch information
sigpro committed Nov 20, 2012
1 parent 462c240 commit 9147eef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ex7/projectData.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
% projection_k = x' * U(:, k);
%


Z = X * U(:, 1:K);



Expand Down
2 changes: 1 addition & 1 deletion ex7/recoverData.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
% Notice that U(j, 1:K) is a row vector.
%


X_rec = Z * U(:, 1:K)' ;

% =============================================================

Expand Down

0 comments on commit 9147eef

Please sign in to comment.