The theoretical basis of two classical recursive algorithms is considered in the paper. They are beamforming algorithm based on the Kalman filter and the least squares algorithm based on QR decomposition. An algorithm that minimizes the noise at the output of an antenna array is proposed on the basis of these two algorithms. The algorithm allows one to maintain a constant level of the received useful signal.