title: Error using sparse index into matrix is too large
body: <p>I ve got a huge adjacency matrix in a sparse representation. I ve got 70.000 and 300.000 edges and the structure of adjacency file is a Nx3 matrix with the first two columns to be the connected nodes the the third column to be the weight. I am trying to read from matlab. Firstly I import the file, and secondly I am trying to create the sparse matrix with spconvert:</p>
  
  <pre><code>adj1 = spconvert(gr);
  </code></pre>
  
  <p>However I am receiving the following error message:</p>
  
  <pre><code>??? Error using ==&gt; sparse
  Index into matrix is too large.
  Error in ==&gt; spconvert at 53
     S = sparse(D(:,1),D(:,2),D(:,3));
  </code></pre>
  
  <p>The biggest value of the matrix is 2.537020525000000e+09 and correspond to a node. Any idea what is wrong here?</p>