How to express x^3 in CVX?

This is answered at How to express the following constraint in CVX? .