Hi,

I’m trying to run CVX to solve this problem:

cvx_begin

variable w1(n*L) complex

am=0;

w2=0;

for k=1:n

w_temp=w1((k-1)L+1:kL);

am=(norm(w_temp)+0.001);

w2=inv_pos(am)*norm(w_temp)+w2;

end

minimize(w2)

subject to

norm(pr-w1’*s)<=alpha

norm(L1’*w1)<=detal

cvx_end

And I have the following error:

`Error using cvx/pow_cvx (line 144) Disciplined convex programming error: Illegal operation: pow_p( {convex}, {-1} ) Error in cvx/inv_pos (line 5) y = pow_cvx( x, -1, ‘pow_p’ );`

How can I construct this problem? Thank you for your reply.