title: Adjacency matrix must be symmetric
body: <p><strong>Problem</strong></p>
  
  <p>I want to create an undirected graph from my EdgeList. But as my Edgelist is not a dense double array. I depleted all edge-connections containing zeros but I guess the problem is that the edgelist is not constant, this is the start of my edgelist:</p>
  
  <pre><code>Edgelist= 
      10965   10879
      10965   10962
      10965   10966
      10965   10967
      11382   11360
      11382   11381
      11382   11384
      11382   11553
      11383   11380
      11383   11381
      11383   11384
      11383   11389
  </code></pre>
  
  <p>So I try to create an adjacency matrix, in the hope of trying to prevent the <code>source is not a dense double array</code> error</p>
  
  <p><strong>Code I use</strong></p>
  
  <pre><code>    EdgeList=unique(EdgeList,'rows');
      sz = max(EdgeList(:));
      A = sparse(EdgeList(:,1), EdgeList(:,2), 1, sz, sz);
      G=graph(A);
  </code></pre>
  
  <p>Now I get the next error</p>
  
  <blockquote>
    <p>Adjacency matrix must be symmetric.</p>
  </blockquote>
  
  <p>I am running out of ideas how to create a graph from such a data set, can anyone help ?</p>