Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11956
| From | Daniel Sanders <dnlsnd777@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | pattern matching |
| Date | 2012-10-05 06:42 +0000 |
| Message-ID | <k4lvg2$d3h$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
Consider the following code:
Count[Table[
Count[Table[RandomInteger[], {n}], 1]/n, {n, 100, 1000, 10}],
x_ < .5]
I want to count the number of times there are occurrences less than .5 but some how I am not specifying the right pattern. Any suggestions on getting right?
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
pattern matching Daniel Sanders <dnlsnd777@gmail.com> - 2012-10-05 06:42 +0000
csiph-web