Error using sqrtm Input must be a single or double matrix

sqrtm can’t be applied to CVX expressions or variables. Accordingly,you will not find it it listed in Reference guide — CVX Users' Guide .

i will assume your problem is not a convex optimization problem, unless you show a rigorous (not hand-waving) convexity proof.

Please carefully read