title: Dimensions of hist3 output
body: <p>I have this code:</p>
  
  <pre><code>a = [1 1 1 3 3 5];
  b = [1 3 3 3 5 5];
  edges{1} = [0 2 4 6];
  edges{2} = [0 2 4 6];
  edges = edges';
  h = hist3([a' b'],'Edges',edges)
  </code></pre>
  
  <p>The output h is 4x4 matrix,</p>
  
  <pre><code> 1     2     0     0
   0     1     1     0
   0     0     1     0
   0     0     0     0
  </code></pre>
  
  <p>However I think it should have been 3x3 since I have 4 entries for the edges, i.e<br>
  0-2,<br>
  2-4,<br>
  4-6</p>
  
  <p>What's going on?</p>