For this loop in MATLAB, after the 'if - end' I want to return to the same loop without executing next i. More specifically, I want to tell MATLAB to check until check(i) is different from 0.
for i = 1:length(numDate)
check(i)=any(Dates == numDate(i));
if check(i) == 0
numDate(i) = numDate(i)-1;
end
end
Aucun commentaire:
Enregistrer un commentaire