title: MATLAB division... should 29/128 return 0?
body: <p>I really don't think this is a precision problem, the answer should be about 0.226. Here's the exact code:</p>
  
  <pre><code>val = I(i,j)
  bucketSize    
  pos = val / bucketSize
  </code></pre>
  
  <p><code>I</code> is just a matrix I'm taking values from. Here is the output from MATLAB:</p>
  
  <pre><code>val =
  
     29
  
  bucketSize =
  
     128
  
  pos =
  
     0
  </code></pre>
  
  <p>What am I missing?</p>