Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (7 sloc) 197 Bytes
%Simple algorithm for recovering a low-rank solution
%Martin Sundin, 2014-03-26
function Xhat = lowrank_ls(y,A,p,q,r)
Xhat = A\y;
Xhat = reshape(Xhat,p,q);
[u,s,v] = svds(Xhat,r);
Xhat = u*s*v';
You can’t perform that action at this time.