Dear all

I am using a recursive least squares (RLS) estimator to update the parameters teta(k) which is a n by m matrix ( teta(k) has n rows and m columns). The equations for the RLS are:

P(k)=(1/lambda)*P(k-1)-(1/lambda)*P(k-1)*Phi(k-1)*inv(( lambda*eye(n)+ Phi(k-1)’* P(k-1)* Phi(k-1)))* Phi(k-1)’*P(k-1)

teta(k)= teta(k-1)+(x(k)- teta(k-1)* Phi(k-1))* Phi(k-1)’* P(k)

As an example, suppose that n is 2 and m is 5 (teta(k) is a matrix with 2 rows and 5 columns) and I want to have the following inequality constraints for teta(k):

abs(teta(1,1)(k))+ abs(teta(1,2)(k))

More Iman Hajizadeh's questions See All
Similar questions and discussions