title: Matlabs evaluation of any and all with an empty vector give different answers
body: <p>Any and all on an empty should give the same answer. Yet here they give a different answer and all of and empty is true. Can anyone explain this behaviour of matlabs (tested on version 2010a->2012b). </p>
  
  <blockquote>
    <p>>> any([])</p>
    
    <p>ans =</p>
  
  <pre><code> 0
  </code></pre>
  </blockquote>
  
  <p>but </p>
  
  <blockquote>
    <p>>> all([])</p>
    
    <p>ans =</p>
  
  <pre><code> 1
  </code></pre>
  </blockquote>