pan>
<span class="comment">%     norm_largest( A * x - b, 'largest', p )</span>
<span class="comment">% for 1 &lt;= p &lt;= 2 * n.</span>

<span class="comment">% Generate data</span>
p = 1;
n = 10; m = 2*n; q=0.5*n;
A = randn(m,n);
b = randn(m,1);
C = randn(q,n);
d = randn(q,1);

<span class="comment">% Create and solve problem</span>
cvx_begin
   variable <span class="string">x(n)</span>
   dual <span class="string">variable</span> <span class="string">y</span>
   minimize( norm( A * x - b, p ) )
   subje