On 3/26/2013 2:35 AM, Priyata wrote: > I want to group the iterates into two sets. How can I do that? > For example: I have repeated the iteration 100 times so there are 100 > iterates between 0 and 2 and I want to group these iterates into two > sets suppose I = (0,1) and II = (1,2). > Thanks.
ix=(X<=1); % inclusive; salt to suit... I=X(ix); II=X(~ix);