Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Converting Binary form to a desired array

  • To: mathgroup at smc.vnet.net
  • Subject: [mg75980] Converting Binary form to a desired array
  • From: athlonspell <athlonspell at yahoo.ca>
  • Date: Mon, 14 May 2007 03:45:32 -0400 (EDT)

Hello,

I have this:

>  BaseForm[212,2] = 10100 

Now, I am trying to achieve this output from above:

>  {2^4, 0, 2^2, 0, 0}

How do I go about do this? 

Thank you,
Sharon


  • Prev by Date: Re: Re: Package Help in Mathematica 6
  • Next by Date: Re: Why Sort[{"AX", "!D", "EX"}] -> {"AX", "!D", "EX"} ?
  • Previous by thread: Re: elliptic integral (reloaded!) (version 4 resullt!)
  • Next by thread: Re: Converting Binary form to a desired array