span class="comment">% Adapted from an example provided in the SeDuMi documentation. Notice</span>
<span class="comment">% the use of SDP mode to simplify the semidefinite constraint.</span>

<span class="comment">% The data. P is Hermitian, but is neither Toeplitz nor PSD.</span>
P = [ 4,     1+2*j,     3-j       ; <span class="keyword">...</span>
      1-2*j, 3.5,       0.8+2.3*j ; <span class="keyword">...</span>
      3+j,   0.8-2.3*j, 4         ];

<span class="comment">% Construct and solve the model<