Hi I want to fill an array based on a condition - eg a = [] z = [1,2,3,4]
for i = 1:length(z) if i > 2 continue end end so, I would now like to see the values 1 & 2 in my array "a" Regards
Hi I want to fill an array based on a condition - eg a = [] z = [1,2,3,4]
for i = 1:length(z) if i > 2 continue end end so, I would now like to see the values 1 & 2 in my array "a" Regards