From: jay jay on
Hi

I have a very huge vector:

A = [ 0 3 1 4 2 6 4 ...]

I want to remove the alternate elements from it such that it becomes:

A = [ 0 1 2 4 ...]

I can't think of a smart way to do it.

Thanks in advance.