Nr=8;
alpha=0.8
g1=sqrt(1/2)(randn(Nr,1)+1irandn(Nr,1));
cvx_begin
variable C(Nr,Nr) complex semidefinite
gammainc(g1’Cg1,1)>=alpha;
cvx_end
Error using gammainc
Inputs must be real, full, and double or single.
Error in run_me (line 53)
gammainc(real(g1’Cg1),1)>=alpha;
C is a covariance matrix, g1’Cg1 is normally real, but cvx don’t accept it in the gammainc function, since the argument of gammainc should be real.
Any help or advice, please?