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: [mg119052] Re: How To Break Long List to m-by-n MatrixForm
  • From: Albert Retey <awnl at gmx-topmail.de>
  • Date: Fri, 20 May 2011 06:40:49 -0400 (EDT)
  • References: <ir2vpv$h3v$1@smc.vnet.net>

Am 19.05.2011 13:43, schrieb Afolabicrystal:
> 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?

the problem with Mathematica usually is just to find the correct 
function in the documentation:

Partition[Range[60], 12]

hth,

albert


  • Prev by Date: Re: A bug or something wrong with Mathematica 8 ?
  • Next by Date: Re: find missing numbers in a series
  • 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