title: Removing NaN elements from a matrix
body: <p>There is one NaN element per row, I want to remove it.</p>
  
  <pre><code>A=[NaN  1  2;  
      3  NaN 4;  
     NaN  5  6];  
  </code></pre>
  
  <p>The desired output is:</p>
  
  <pre><code>[1 2;  
   3 4;  
   5 6]
  </code></pre>