title: Number of rows of each sub-cell in a cell array
body: <p>I have a cell <code>C</code> in Matlab of dimension <code>mx1</code>, e.g. <code>m=3</code></p>
  
  <pre><code>C={{1 2 3; 4 5 6} {4 5 6} {7 8 9 10; 11 12 13 14; 15 16 17 18}}
  </code></pre>
  
  <p>Is there a way to get the vector <code>D</code> of dimension <code>mx1</code> reporting the number of rows of each sub-cell in <code>C</code> without using loops? In the example  <code>D=[2 1 3]'</code>.</p>