How to use conditional (piecewise) function in cvx?

Have you followed the advice to read the link provided in answer to your previous question? How can I maximize a piecewise concave function?