MathGroup Archive 2008

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

Search the Archive

Re: Command similar to flatten??

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89275] Re: [mg89273] Command similar to flatten??
  • From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
  • Date: Tue, 3 Jun 2008 06:44:24 -0400 (EDT)
  • References: <200806030759.DAA19034@smc.vnet.net>

On 3 Jun 2008, at 16:59, 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
>

Flatten[aa, {{1, 2}}]

will do it.

Andrzej Kozlowski


  • Prev by Date: Re: Command similar to flatten??
  • Next by Date: Re: Default location for Exported files?
  • Previous by thread: Re: Command similar to flatten??
  • Next by thread: Re: Re: Command similar to flatten??