title: How to draw networks in Matlab?
body: <p>I have a matrix <code>A</code> in Matlab of dimension <code>mx2</code> that contains in each row the labels of two nodes showing a direct link in a network, e.g.:</p>
  
  <p>if the network has <code>4</code> nodes the matrix <code>A</code> could be <code>A=[1 2; 1 3; 2 1; 2 4; 3 2; 4 1; 4 2]</code>, where the first row means that there is a link from <code>1</code> to <code>2</code>, the second row means that there is a link from <code>1</code> to <code>3</code>, etc.</p>
  
  <p>Could you suggest me a quick way to draw the network from A?</p>