I have two lines where ii should increment 1:12
1 2 3 4 5 6 7 8 9 10 11 12
for ii=1:6
ii %line1
ii+1 %line2
end
Instead I get ii 1 2 2 3 3 4 4 5 5 6 6 7
Ps: I need to use two lines in the for loop due to functions being called from these lines and filenames are created based on ii variable
for ii=1:2:12instead.