Hi. I´m working with a file that contains two columns of data (s1 and s2). I´m doing calculations between them and in a part of the program I use a For Loop. The result of this Loop will be a set of data of three vectors because the operations are between two columns and as the for loop indicates, values from 0 to 2. The result is displayed above and each vector would be a column (so the result is correct) but they aren´t separate with a coma. My question is: how can I do this procedure so that the result is displayed as a table?
For[x = 0, x < 3, x++, y = (s1*x) + (s2+x); Print[y]]
{0,0,0,0,0,0,0}
{3,0,4,9,15,16,22}
{4,0,8,18,30,32,44}