I'm trying to assign a name for each iteration in a for loop. Let's take the fundamental for loop:
And the the output is:
What I want to do is assign the x's as x(1),x(2), and x(3). So what I'm trying to achieve is to have a for loop output as:
x(1) = 1;
x(2) = 4;
x(3) = 9;
Thanks,
Amanda