In my problem, qo(2,1) is a CVX variable and q(2,1) is a constant, my expression is (1 / ||qo - q||). When I writed inv_pos(norm(qo(:,u)-w(:,k))), the error " Illegal operation: pow_p( {convex}, {-1} )" happend. How can I express (1 / ||qo - q||).
In my problem, qo(2,1) is a CVX variable and q(2,1) is a constant, my expression is (1 / ||qo - q||). When I writed inv_pos(norm(qo(:,u)-w(:,k))), the error " Illegal operation: pow_p( {convex}, {-1} )" happend. How can I express (1 / ||qo - q||).