hello, everyone!
I am going on a problem, I have defined a decision variable W = sdpvar(4,4,'full') but I have a constraint that there is at least one eigenvalue of the matrix I defined, but I eventually failed to accomplish it using some matlab function such as find(eig(W)<0), and some looking-like function, which outputs these functions are nor defined for the decision variables.
Pls help me!