When A
and x
are both CVX variables, A*x
is non-convex. When only one of them is a CVX variable, A*x is convex (as well as concave, since it is affine (linear)).
Read Why isn't CVX accepting my model? READ THIS FIRST! and http://stanford.edu/~boyd/cvxbook/ .