title: How to iterate over a column vector in Matlab?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/758736/how-do-i-iterate-through-each-element-in-an-n-dimensional-matrix-in-matlab">How do I iterate through each element in an n-dimensional matrix in MATLAB?</a>  </p>
  </blockquote>
  
  
  
  <p>I have a column vector <code>list</code> which I would like to iterate like this:</p>
  
  <pre><code>for elm in list
     //do something with elm
  </code></pre>
  
  <p>How?</p>