n) &lt;= hb/wb &lt;= alpha(n);
      1/alpha(n) &lt;= hc/wc &lt;= alpha(n);
      1/alpha(n) &lt;= hd/wd &lt;= alpha(n);
  cvx_end
  fprintf( <span class="string">'area = %.2f\n'</span>, cvx_optval );
  min_area(n) = cvx_optval;
<span class="keyword">end</span>

figure, clf
plot(alpha,min_area);
xlabel(<span class="string">'alpha'</span>); ylabel(<span class="string">'min area'</span>);
axis([1 4 2.5 4]);
disp(<span class="string">'Optimal tradeoff curve is plotted.'</span>)
</pre>
<a id="output"></a>
<pre 