theta=5
offset=1.5
for i=1:10
force=cosd(theta)+offset
force_array(i)=force
theta=theta+1
end
This code will generate an array, force_array, with the ten different forces per theta and offset value(s).
What if I want to generate 3 different force arrays all from the same theta values (in the loop) but three different offset values? Any suggestions? Thanks,
Kim
