MATLAB: Is it possible with for loop s1,s2,s3 variable looping

for loopvariable

Hy I wonder it is possible something this (looping with variable name) :
s1 = 5;
s2 = 6;
s3 = 7;
for i = 1:3
s[(i)] or s(i)
end

Best Answer