Answered
While loop keep running (logical with vector )
I think replacing while with if solves the problem clearvars; clc; a=[0 0]; if all(a)<=6 z=[6 10 8 9 22 3 6]; for ...

nästan 4 år ago | 0