Skip to main content
. 2019 Dec 12;19(24):5486. doi: 10.3390/s19245486
Algorithm 3: Data Reconstruction Using Matching Pursuit Algorithm
Input: compressed data y=r×d
Output: Reconstructed data d¯
1:Initialize:
d0¯ = 0, rerror=0 and i = 0
2:iteration:
3:  i = i + 1
4:  PN=di1¯+rT×rerror
5:  di¯=argmaxi={1,2,..N}|PN|
6:Compute residual error
rerror=yr×di¯
7:If there is no error in rerrorthen
8:return d
9:End
10:End