X = sdpvar(5); solvesdp([-1 <= x <= 1, [1 x';x X]>=0],trace(Q*X))