syntax of for loop in matlab code example
Example: matlab for
for v = 0.0:+0.2:1.0
disp(v)
end
% Console Output:
% 0
% 0.2
% 0.4
% 0.6
% 0.8
% 1
for v = 0.0:+0.2:1.0
disp(v)
end
% Console Output:
% 0
% 0.2
% 0.4
% 0.6
% 0.8
% 1