Skip to content

Commit f0f3d5f

Browse files
authored
Update svd.m
1 parent 299b745 commit f0f3d5f

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

svd.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,15 @@
4242
if p < tol
4343
q = q + 1;
4444
V{q} = Q_0' * d;
45-
fprintf("here")
4645
else
4746
if q > 0
48-
fprintf("there.")
4947
k = size(S,1);
5048
Y = [S, cell2mat(V)];
5149
[Qy, Sy, Ry] = svd(Y, 'econ');
5250
Q = Q*(Q_0*Qy); S = Sy;
5351
R1 = Ry(1:k,:); R2 = Ry(k+1:end,:);
5452
R = [R*R1; R2];
5553
d = Qy' * d;
56-
%clear Y Qy Sy Ry
5754
end
5855
V = {}; q = 0;
5956

0 commit comments

Comments
 (0)