BinCounts
- To: mathgroup at smc.vnet.net
- Subject: [mg60918] BinCounts
- From: Alberto Verga <Alberto.Verga at laposte.net>
- Date: Mon, 3 Oct 2005 04:06:21 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Why does BinCounts[] give lists with unpredictable Dimensions[]? With[{n = 205}, ll = RandomArray[NormalDistribution[0, 1], {n}]; Dimensions[BinCounts[ll, {Min[ll], Max[ll], (Max[ll] - Min[ll])/n}]]] You may try different values of n (or the same n and different samples of the random numbers), and verify that the lenght of the list depends on the random realization: somtimes you get n, somtimes n+1. Alberto Verga Alberto Verga IRPHE - Université de Provence 49, rue F. Joliot-Curie, BP 146, 13384 Marseille, France
- Follow-Ups:
- Re: BinCounts
- From: "Carl K. Woll" <carl@woll2woll.com>
- Re: BinCounts