Re: How To Break Long List to m-by-n MatrixForm
- To: mathgroup at smc.vnet.net
- Subject: [mg119053] Re: How To Break Long List to m-by-n MatrixForm
- From: Peter Breitfeld <phbrf at t-online.de>
- Date: Fri, 20 May 2011 06:41:00 -0400 (EDT)
- References: <ir2vpv$h3v$1@smc.vnet.net>
Afolabicrystal 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. > Something like this? Partition[Range[1,60],12] Partition[Range[1,66],12,12,1,Null] [This thread will now be closed to avoid any more Partition recommendations in any form. --- Moderator] -- _________________________________________________________________ Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de