Skip to main content
. 2019 Aug 13;19(16):3531. doi: 10.3390/s19163531
Algorithm 1 L1-minimization
 Input: A=ΦΨ,y,k
 Inizialize:
P=[p1pN],P=IAA,x0=Ayt=0
 Output: k-sparse coefficient vector x
while t<Niter do
  st=sgn(xt),wt=(st+1)/2  // reduce st to binary vector wt
  if t>0 then
   vt=wtwt1
   Ωt={j/vt(j)=1}  // define the set of indices Ωt corresponding to a change from st1 to st
   qt=qt1+2jΩtpjst(j)
  else
   qt=Ps0
   μ=ϵmaxNq02
  end if
  xt+1=xtμxt1Nqt
  t=t+1
end while