 class="comment">%</span>
<span class="comment">% Designs an antenna array such that:</span>
<span class="comment">% - it has unit sensitivity at some target direction</span>
<span class="comment">% - it obeys a constraint on a minimum sidelobe level outside the beam</span>
<span class="comment">% - it minimizes the beamwidth of the pattern</span>
<span class="comment">%</span>
<span class="comment">% This is a quasiconvex problem and can be solved using a bisection.</span>
<span class="comment">%</span>
<s