title: How to get this matrix
body: <p>I have this matrix:</p>
  
  <pre><code> S.No.  A         B  
   1     5268020   1756  
   2     15106230  5241  
   3     24298744  9591  
   4     23197375  9129  
  </code></pre>
  
  <p>I want to get a matrix which will have two columns [X,Y]. X will take values from S.No. and Y will can be either 1 or 0. For example,  for  <code>1     5268020   1756</code>  there should be total <code>5268020 (1,0)</code> i.e, (X,Y) pairs and 1756 (1,1) pairs. </p>
  
  <p>How can I get this matrix in Octave ??  </p>