title: Finding weight of each grid in Matlab?
body: <p>So I have two vectors*<strong>(x &amp; y)*</strong> with x and y co-ordinate data points. I would like to put these points on  grid kinda like a scatter plot and count the number of points within each grid like the weight of each grid using Matlab.</p>
  
  <p>What would you guys suggest is the best way to do this? Any suggestion is appreciated</p>