j
k
j a
j l
bincount takes a weights argument which should do exactly what you are looking for.
Fantastic ! Thanks ! Nicolas
Back to the thread
Back to the list