MathGroup Archive 2001

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

Search the Archive

Re: list of bits to string

  • To: mathgroup at smc.vnet.net
  • Subject: [mg28713] Re: list of bits to string
  • From: "Paul Lutus" <nospam at nosite.com>
  • Date: Thu, 10 May 2001 07:54:57 -0400 (EDT)
  • References: <9dauth$e28@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"Murray Eisenberg" <murray at math.umass.edu> wrote in message
news:9dauth$e28 at smc.vnet.net...
> I have a list consisting of binary digits, of a given length, e.g.,
> {0, 1, 1, 0, 1}.  I wish to convert this to a _string_ consisting of
> those digits: "01101".  How can this be done?

data = {0, 1, 1, 0, 1};

str = ToString[FromDigits[data]];

--
Paul Lutus
www.arachnoid.com





  • Prev by Date: Re: Auto Recalculation
  • Next by Date: Permutations
  • Previous by thread: Re: list of bits to string
  • Next by thread: Re:list of bits to string