MathGroup Archive 2012

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

Search the Archive

Re: List Manipulation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124951] Re: List Manipulation
  • From: "Ernst H.K. Stelzer" <ernst.stelzer at physikalischebiologie.de>
  • Date: Tue, 14 Feb 2012 06:36:34 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201202111136.GAA16379@smc.vnet.net> <jh832q$olt$1@smc.vnet.net>

In[4]:= Join @@
 Thread /@ Thread@{{1, 2, 3, 4, 5, 6}, {a, b, c, d, e, f}}

Out[4]= {1, a, 2, b, 3, c, 4, d, 5, e, 6, f}

In[6]:= Transpose[{{1, 2, 3, 4, 5, 6}, {a, b, c, d, e, f}}] // Flatten

Out[6]= {1, a, 2, b, 3, c, 4, d, 5, e, 6, f}

In[7]:= Riffle[{1, 2, 3, 4, 5, 6}, {a, b, c, d, e, f}]

Out[7]= {1, a, 2, b, 3, c, 4, d, 5, e, 6, f}

Sincerely

    E. Stelzer

Prof. Dr. Ernst H.K. Stelzer
Physikalische Biologie/Physical Biology (FB 15, IZN)
Buchmann Institute for Molecular Life Sciences (FMLS, CEF-MC)
Goethe Universit=E4t Frankfurt am Main (Campus Riedberg)
Max-von-Laue Strasse 15
D-60438 Frankfurt am Main, Germany

Tel   +49 (69) 798 42547, x42555, x42544
Fax   +49 (69) 798 42546
Mob +49 (170) 6357 168

http://www.fmls-institute.de http://www.uni-frankfurt.de
http://www.researcherid.com/rid/A-7648-2011
ernst.stelzer at physikalischebiologie.de
stelzer at bio.uni-frankfurt.de




  • Prev by Date: Re: MenuCommand Events
  • Next by Date: simple question on DSolve
  • Previous by thread: Re: List Manipulation
  • Next by thread: Re: List Manipulation