I can not run this code:
…
cvx_begin
variable w(14,1) complex
sinr = w'*sigN*w;
maximize (sinr)
subject to
norm(w'*aDN)==1;
cvx_end
and this is the message that I received:
??? Error using ==> cvxprob.newobj at 57
Disciplined convex programming error:
Cannot maximize a(n) convex expression.
Error in ==> maximize at 21
newobj( prob, 'maximize', x );
Error in ==> test_cvx at 19
maximize (sinr)
This is a familiar problem. I can used the same objective function and constraint with Yalmip, but I want to use CVX. Please help me.
Thanks in advance.