In other words I essentially want a program that does this

theta=5

offset=1.5

for i=1:10

force1=cosd(theta)+offset

force_array1(i)=force1

theta=theta+1

end

theta=5

offset=2.0

for i=1:10

force2=cosd(theta)+offset

force_array2(i)=force2

theta=theta+1

end

theta=5

offset=7.0

for i=1:10

force3=cosd(theta)+offset

force_array3(i)=force3

theta=theta+1

end

There's gotta be a way to loop this using my original code. Any suggestions?