Skip to main content
. 2021 Jun 18;21(12):4180. doi: 10.3390/s21124180
Algorithm 1 Pseudocode of optimized beamformer.
Input: Initialized value of beamformer vector
Output: Optimized beamformer value
1.    Initialize w, set threshold level (ζ), precision, number of iteration, and time index (i)
2.    Repeat
3.      Compute OB as in (21)
4.      i=i+1
5.      Compute OBi+1,OAi+1OEvei+1 as in (21)
6.      If {OAi+1OAi} and {OEvei+1OEvei}
7.       Store beamformer value, OA, and OEve then perform recursion
8.       Else
9.       Return optimized beamformer value, OA, and OEve
10.      Stop algorithm = true
11.     End if
12.   Until (Stop algorithm = true)