title: how to get the length (count of rows) of this matlab matrix?
body: <p>I'm quite new to matlab and just need to change a very small thing in a code. I have the following matrix:</p>
  
  <pre><code>ans =
  
       1     1     1
       1     2     1
       2     1     1
       2     2     2
  </code></pre>
  
  <p>how to get the count of rows of this ans? it should be 4</p>