Invalid quadratic form (Matrix multiplications)

This is not convex in general.

I leave it to you to prove that this expression is convex using your particular values of R andT. Unless and until you have done so, I will presume this is non-convex.

Please read Why isn't CVX accepting my model? READ THIS FIRST! .