Hello,

I’m trying to convert the previous semidefinite problem into cvx code. Here is the code I am using:

%%

cvx_begin quiet

variable N(m+1,m+1) hermitian semidefinite

variable D(m+1,m+1) hermitian semidefinite

variable X1(m+1,m+1) hermitian semidefinite

variable X2(m,m) hermitian semidefinite

variable X3(m+1,m+1) hermitian semidefinite

variable X4(m,m) hermitian semidefinite

variable X5(m+1,m+1) hermitian semidefinite

variable X6(m,m) hermitian semidefinite

```
% passband constraints
(diag(W1*((N-D)+X1)*W1')+Rp*diag(W2*X2*W2'))==0;
(diag(W1*((delta2p*D-N)+X3)*W1')+Rp*diag(W2*X4*W2'))==0;
% stopband constraint
(diag(W1*((N-delta2s*D)+X5)*W1')+Rs*diag(W2*X6*W2'))==0;
```

cvx_end

I am not sure if I have done the translation to cvx properly. Doing in this way I obtain

All zero sparse: 5-by-5 on every variable.

Thank you in advance,