View full-text article in PMC Sensors (Basel). 2022 May 23;22(10):3938. doi: 10.3390/s22103938 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1 OMP Algorithm in mmWave Channels Require: sensing matrix A, measurement vector y, and the threshold δ 1:Λ0=⌀,r0=y,r−1=0, and k=1 2:whilerk−1−rk−222>δ and k≤kmaxdo 3:λk=argmaxi=1,⋯,NAH(i),rk−1 4:Λk=Λk−1∪λk 5:AΛk=AΛk−1∪aΛk 6:sk=AΛkTAΛk−1AΛkTy 7:rk=y−AΛksk 8:k=k+1 9:endwhile 10:returnsk