Re: list of lists
- To: mathgroup at smc.vnet.net
- Subject: [mg15441] Re: [mg15425] list of lists
- From: steffenz at gauss.fo.fh-koeln.de
- Date: Mon, 18 Jan 1999 04:21:45 -0500
- Sender: owner-wri-mathgroup at wolfram.com
> Date: Wed, 13 Jan 1999 20:57:36 -0500 > From: "wgrebe" <wgrebe at cityweb.de> > To: mathgroup at smc.vnet.net > Subject: [mg15441] [mg15425] list of lists > 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 > Hi Witold Try : newlist=Table[listname[[i,5]],{i,1,1024}] this will give You a new list with the 5th element of every sublist of the old one. bye Steffen