 &lt;= v(k) &lt; edges{k}(qk+1), for k=1,...,nd.  Note that if nd&gt;1
 edges may be a cell vector where each element is a vector of edges or a
 scalar nBins as before.

 Each value in A may optionally have an associated weight given by wtMask,
 which should have the same number of elements as A. If not specified, the
 default is wtMask=ones(n,1).

 USAGE
  h = histc2( A, edges, [wtMask] )

 INPUTS
  A           - [n x nd] 2D numeric array
  edges       - quantization bounds, see above
  wtMas