MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Create random binary images

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83637] Create random binary images
  • From: Tara.Ann.Lorenz at gmail.com
  • Date: Tue, 27 Nov 2007 06:05:19 -0500 (EST)

Hello,

I am trying to create several random binary images of 30x30.  I want
the outputs to be 1's and 0's, with 5% of the outputs being 1's.  Any
ideas on how to code this in Mathematica?

Thanks!
Tara


  • Prev by Date: Trying to create a clustered StackedBarChart
  • Next by Date: case differentiation problem with "Assumptions"
  • Previous by thread: Re: Trying to create a clustered StackedBarChart
  • Next by thread: Re: Create random binary images