MathGroup Archive 2011

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

Search the Archive

Re: How To Break Long List to m-by-n MatrixForm

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119043] Re: How To Break Long List to m-by-n MatrixForm
  • From: Armand Tamzarian <mike.honeychurch at gmail.com>
  • Date: Fri, 20 May 2011 06:39:12 -0400 (EDT)
  • References: <ir2vpv$h3v$1@smc.vnet.net>

On May 19, 9:43 pm, Afolabicrystal <afolabicrys... at gmail.com> wrote:
> Hello Friends,
>
> I have a fundamental question.
>
> Given a long List of elements (say 60 elements). How do I break this
> to an m-by-n MatrixForm (say 5-by-12).
>
> It's kinda basic and I already feel silly asking the question. Simple
> things do elude big brains sometimes. Any idea?
>
> Thankx.


This is the sort of thing that everyone might want to reply to and
then decide not to because someone else will. So the short answer is:

Partition[Range[60], 5]

Mike


  • Prev by Date: Re: How To Break Long List to m-by-n MatrixForm
  • Next by Date: Re: How To Break Long List to m-by-n MatrixForm
  • Previous by thread: Re: How To Break Long List to m-by-n MatrixForm
  • Next by thread: Re: How To Break Long List to m-by-n MatrixForm