Mercurial > hg > pycsalgos
diff matlab/SL0/SL0_approx.m @ 15:0d66a0aafb39
SL0_approx test working
author | nikcleju |
---|---|
date | Sat, 05 Nov 2011 22:10:06 +0000 |
parents | 2c6e8cf25bd4 |
children |
line wrap: on
line diff
--- a/matlab/SL0/SL0_approx.m Sat Nov 05 22:06:11 2011 +0000 +++ b/matlab/SL0/SL0_approx.m Sat Nov 05 22:10:06 2011 +0000 @@ -113,11 +113,7 @@ % Initialization %s = A\x; s = A_pinv*x; -% Nic: -s = zeros(size(A,2),1); -s = randn(size(A,2),1); -sigma = 10; -%sigma = 2*max(abs(s)); +sigma = 2*max(abs(s)); % Main Loop while sigma>sigma_min