How do I invert a matrix with a cvx variable if I can't use the pinv function?

You have not shown that this is a convex optimization problem. If it is not, CVX is not applicable.

Please carefully reread Why isn’t CVX accepting my model? READ THIS FIRST!

If, however, a_k(s) were known, i.e., an input (which from your description it sounds like it is not), you could enter the complex affine (linear) equality constraint denominator*a_k(s) == b_k.

1 Like