From: jay jay on 4 Jul 2010 00:37 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.
|
Pages: 1 Prev: PLOT file.m in GUI Next: remove alternate elements in a vector |