I want to solve a problem like this
the variable is a diagonal matrix lambda and here is my code
cvx_begin variable lambda(N,N) diagonal; minimize(trace(F'/(R*(R')+lambda)*F) + sum(lambda*p)); cvx_end
but I get the error which is as follows
错误使用 * (line 68)
Disciplined convex programming error:
Matrix divisor must be constant.
出错 / (line 15)
z = mtimes( x, y, ‘rdivide’ );
出错 tiaoshi0320 (line 88)
minimize(trace(F’/(R*(R’)+lambda)F) + sum(lambdap));
I wonder what went wrong and hope somebody could help me with this.