Re: list of lists
- To: mathgroup at smc.vnet.net
- Subject: [mg15439] Re: [mg15425] list of lists
- From: "C. Frey" <Clemens.Frey at uni-bayreuth.de>
- Date: Mon, 18 Jan 1999 04:21:43 -0500
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
this is just a matter of the Part-function (although Extract could also
be used in a similar manner if you have Mathematica3):
example = Table[j,{j,1,1024},{11}];
example[[Range[5,1024,5]]]
should give you the right result.
Clemens
------------------------------------------------------------
Clemens Frey
Doctoral Fellow at the
Department of Mathematics/BITOEK
University of Bayreuth(Germany)
clemens.frey at uni-bayreuth.de
http://www.bitoek.uni-bayreuth.de/~Clemens.Frey
------------------------------------------------------------
On Wed, 13 Jan 1999, wgrebe wrote:
> Hallo,
>
> I have a 2-dimensional list, which is very large. It consists of 1024
> sublists, each with 11 elements.
> I want to have a smaller list, where every 5th sublist is element. What
> can I do?
>
>
> Thank you
> Witold
>
> wgrebe at cityweb.de
>
>
>
>