Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'odd positions at beginning, even ones at the end' topicStudent Support Forum > General > Archives > "odd positions at beginning, even ones at the end"

Next Comment >Help | Reply To Topic
Author Comment/Response
littledrifty
08/25/11 2:38pm

I have a list
{{1,2,3,4,2,3,4,5,3,2,1,9}...}


for example, {a,b,c,d} a and c are in the odd positions and b and d are in the even positions.

I want to separate all the evens from the odd positions
just like this

{{1,3,2,4,3,1},{2,4,3,5,2,9}}



ps.
I have been working on this two days, and basically what i think it comes down to, is finding a way to recognize which positions are odd and which positions are even.



URL: ,

Subject (listing for 'odd positions at beginning, even ones at the end')
Author Date Posted
odd positions at beginning, even ones at the end littledrifty 08/25/11 2:38pm
Re: odd positions at beginning, even ones at th... yehuda 08/26/11 09:17am
Re: odd positions at beginning, even ones at th... Patrick 08/28/11 05:29am
Re: odd positions at beginning, even ones at th... yehuda ben-s... 08/29/11 10:08am
Re: odd positions at beginning, even ones at th... littledrifty 08/30/11 6:40pm
Next Comment >Help | Reply To Topic