Skip to main content
. 2014 Dec 24;15(1):234–247. doi: 10.3390/s150100234

Algorithm 1 Orthogonal matching pursuit.

  • Input:
    • measurement matrix A ∈ Mm×n(ℂ)
    • measurement vector y ∈ ℂm
    • accuracy parameter ε > 0
  • Output:
    • x ∈ ℂn
  • Initialization:
    • I = ∅, x = 0
  • The main loop:

    whileyAx2ε do
    • I=I{argmaxj[1,n]|A*(yAx)j|}
    • x=argminsupp(z)IyAz2

    end while