MathGroup Archive 2007

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

Search the Archive

Converting Binary form to a desired array


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