| Author |
Comment/Response |
Jim
|
07/12/04 03:36am
Hello
I have a list of this kind:
{0.3,4},{0,4,2},{0.8,3},{1.2,4},{1.4,7},{3.3,5},{3.4,2},{3.5,6},{4.2,3},
and I want to bin them with respect only to the first number of every list element.
so if I want a bin of 0.5
(i.e. (0,0.5],(0.5,1],(1,1.5],(1.5,2],(2,2.5]...)
then is it possible to bin them:
{{0.3,4},{0,4,2}},{{0.8,3}},{{1.2,4},{1.4,7}},{{3.3,5},{3.4,2},{3.5,6}},{{4.2,3}},..
like this?
Thank you very much!
URL: , |
|