This question is closed. Reopen it to edit or answer.
Simple question loop for
1 view (last 30 days)
Asad (Mehrzad) Khoddam on 19 Oct 2020
You can simply add a disp command to see that nothing will be printed when n=0. It means that the statements inside the loop will not be executed.
for i = 1:n
% Inside of the loop