title: Delete columns from matrix according to its index
body: <p>I have a two-dimensional matrix <code>matrixK</code>. For example it could be something like</p>
  
  <pre><code>matrixK = [[0,1,2,3,4],[5,6,7,8,9],[10,11,12,13,14]]
  </code></pre>
  
  <p>I need to delete certain columns of the matrix, and these columns need to be chosen according to a pattern that depend on their index as columns.
  In other words, </p>
  
  <pre><code>for i in range(number_of_columns)
      if (i satisfy a certain condtion):
          column[i] needs to be deleted.
  </code></pre>
  
  <p>and as a final result I need to get the same initial <code>matrixK</code>, deprived of the columns that satisfy the condition. What is the best pythonic way to do that?</p>
  
  <p>To make an example, referring to the <code>matrixK</code> defined above as an example, let's consider</p>
  
  <pre><code>for i in range(5):
         if (i%2==0):
             column[i] needs to be deleted
  </code></pre>
  
  <p>which should delete columns 2 and 4.</p>