View full-text article in PMC Sensors (Basel). 2020 Jan 9;20(2):378. doi: 10.3390/s20020378 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2020 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 (http://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm A2 LMS for beamforming. 1:procedureLMS(i[0], Ψ, d, ηl, ρ, Q, U) 2: for u←1,U do 3: i[u]←i[u−1] 4: for q←1,Q do 5: i2[u]←[i1[u]2i2[u]2⋯iP[u]2]T 6: i3[u]←[i1[u]3i2[u]3⋯iP[u]3]T 7: gq[u]←ψqT(ρ1i[u]+ρ2i2[u]+ρ3i3[u]) 8: ϵq[u]←dq−gq[u] 9: i[u]←i[u]+ηlϵq[u]ψq* 10: end for 11: end for 12: return i[U] 13: end procedure