Skip to main content
. 2019 Aug 13;19(16):3531. doi: 10.3390/s19163531
Algorithm 1 L1-minimization
 Input: A=ΦΨ,y,k
 Inizialize:
 P=[p1…pN],P=I−A†A,x0=A†yt=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=wt⊕wt−1
   Ωt={j/vt(j)=1}  // define the set of indices Ωt corresponding to a change from st−1 to st
   qt=qt−1+2∑j∈Ωtpjst(j)
  else
   qt=Ps0
   μ=ϵmaxN∥q0∥2
  end if
  xt+1=xt−μ∥xt∥1Nqt
  t=t+1
 end while