Hello I want to find 'N' Number in vectore and split into two vectors.
A = [1 2 3 4 5 6 7 8 9 10 23 55 66 77 88]
for i = 1:length(A) if A(:,i) <= 20 X = A(:,i) else Y = A(:,i) endend
But I want
X = [1 2 3 4 5 6 7 8 9 10]
Y = [23 55 66 77 88]
Best Answer