where M is the modeling matrix, MH is its conjugate transpose, W is the non-negative diagonal weighting matrix, and ht is the column vector containing the target response. As a result, every time a command gain is changed, both the target response and the weighting matrix also change and matrix inversion needs to be executed [56].