title: Normalized cuts with Matlab 2013a
body: <p>I am using the normalized cuts package from <a href="http://www.cis.upenn.edu/~jshi/software/Ncut_9.zip">http://www.cis.upenn.edu/~jshi/software/Ncut_9.zip</a>
  (on Windows 7)</p>
  
  <p>This used to work fine with Matlab2010a. However I have upgraded to Matlab2013a (32 bit student version) and I now get the following error:</p>
  
  <pre><code>Error using arpackc
  Expect 2 output arguments
  
  Error in eigs_new (line 240)
          arpackc( aupdfun, ido, ...
  
  Error in ncut (line 83)
  [vbar,s,convergence] =
  eigs_new(@mex_w_times_x_symmetric,size(P,1),nbEigenValues,'LA',options,tril(P));
  
  Error in ncutW (line 9)
  [NcutEigenvectors,NcutEigenvalues] =
  ncut(W,nbcluster);
  
  Error in NcutImage (line 18)
  [NcutDiscrete,NcutEigenvectors,NcutEigenvalues]
  = ncutW(W,nbSegments);
  
  Error in demoNcutImage (line 25)
  [SegLabel,NcutDiscrete,NcutEigenvectors,NcutEigenvalues,W,imageEdges]=
  NcutImage(I,nbSegments);
  </code></pre>
  
  <p>Obviously the <code>new_eigs()</code> function in <code>ncuts</code> is incompatible with the ARPACK version in the latest Matlab.</p>
  
  <ul>
  <li>Does anybody know of a workaround for this?</li>
  <li>Normalised uses a modified version of Matlab's <code>eigs()</code> function. Why can't I just use Matlab's built-in <code>eigs()</code> instead of <code>eigs_new()</code> (it does seem to work).</li>
  </ul>