Re: Command similar to flatten??
- To: mathgroup at smc.vnet.net
- Subject: [mg89282] Re: Command similar to flatten??
- From: dh <dh at metrohm.ch>
- Date: Tue, 3 Jun 2008 06:45:42 -0400 (EDT)
- References: <g22tpg$ikn$1@smc.vnet.net>
Hi Erwin, Flatten can take an additional second parameter. E.g. Flatten[yourList,2] will flatten the first and second dimension. hope this helps, Daniel Erin Noel wrote: > Hi all, > > I am pretty new to Mathematica coding so bear with me... > > I have a list of lists named "A" whose dimensions are {4,10,1100,5} and I > want to basically "combine" those first two levels so that the dimensions > become {40,1100,5} but I have no idea how to do that...Any suggestions? > Thanks a lot in advance. > > Erin > -- Daniel Huber Metrohm Ltd. Oberdorfstr. 68 CH-9100 Herisau Tel. +41 71 353 8585, Fax +41 71 353 8907 E-Mail:<mailto:dh at metrohm.com> Internet:<http://www.metrohm.com>