Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #3403
| From | Orleo Marinaro <orleo.marinaro@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: How can I concatenate elements |
| Date | 2011-06-30 20:53 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <iuinnv$ku6$1@smc.vnet.net> (permalink) |
| References | <iu4a05$jpm$1@smc.vnet.net> |
Use the built-in Join[].
So
Join[s1,s2]
and yield
{1, 2, 3, 4, 5, 6, c, k}
On Jun 25, 11:32 am, "Leandro Tenfen" <leandroten...@hotmail.com>
wrote:
> Hi,
>
> I have two lists:
>
> s1={1,2,3,4,5,6};
> s2={c,k};
>
> How can I concatenate elements of lists as follows:
>
> s3={1c,2c,3c,4c,5c,6c,1k,2k,3k,4k,5k,6k}
>
> Many Thanks!
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How can I concatenate elements "Leandro Tenfen" <leandrotenfen@hotmail.com> - 2011-06-25 09:32 +0000 Re: How can I concatenate elements Oleksandr Rasputinov <oleksandr_rasputinov@hmamail.com> - 2011-06-26 10:32 +0000 Re: How can I concatenate elements Oleksandr Rasputinov <oleksandr_rasputinov@hmamail.com> - 2011-06-26 21:41 +0000 Re: How can I concatenate elements Armand Tamzarian <mike.honeychurch@gmail.com> - 2011-06-29 21:27 +0000 Re: How can I concatenate elements sungmin <sungmin817@googlemail.com> - 2011-06-29 21:28 +0000 Re: How can I concatenate elements Orleo Marinaro <orleo.marinaro@gmail.com> - 2011-06-29 21:52 +0000 Re: How can I concatenate elements Orleo Marinaro <orleo.marinaro@gmail.com> - 2011-06-29 21:52 +0000 Re: How can I concatenate elements Stefan Salanski <wutchamacallit27@gmail.com> - 2011-06-29 21:53 +0000 Re: How can I concatenate elements Orleo Marinaro <orleo.marinaro@gmail.com> - 2011-06-30 20:53 +0000 Re: How can I concatenate elements Stefan Salanski <wutchamacallit27@gmail.com> - 2011-06-30 20:54 +0000 Re: How can I concatenate elements Orleo Marinaro <orleo.marinaro@gmail.com> - 2011-06-30 20:52 +0000
csiph-web