Like this?
while any(~(abs(vector_a) <= 0.00001))
% do stuff
end
Or this (but will not get the same result if there are NaN's):
while any(abs(vector_a) > 0.00001)
% do stuff
end
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!