Convexity or not?

So this is non-convex, and CVX can’;t be used to enter or solve it.

To learn more about determining convexity and convex optimization, you can read and solve exercises in the first 3 to 5 chapters of Convex Optimization – Boyd and Vandenberghe . And f you need help with that, perhaps seek it at https://math.stackexchange.com/ .

If you are looking for a MATLAB-based tool which can handle convex and non-convex optimization problems, you can try YALMIP.

Please read and FOLLOW the advice in the previously provided link, Why isn't CVX accepting my model? READ THIS FIRST! before posting again on this forum.