ment in edges to -inf
 and the last to inf.  If h = histc2( A, nBins, ...), edges are
 automatically generated and have bins equally spaced between min(A) and
 max(A). That is the edges vector is generated by:
  edges = linspace( min(A)-eps, max(A)+eps, nBins+1 );

 If nd&gt;1, that is when A is a 2d matrix instead of a vector, the created
 histogram is multi-dimensional with dimensions nBins^nd, where each bin
 h(q1,...,qnd) contains the the weighted count of vectors v in A such that
 edges{k}(qk)