for i=1: 5
the above program yields x as a matrix.
But I want the variable name to change for every i. i.e., the 2*1^2 should be assigned to x1, 2*2^2 should be assigned to x2 e.t.c . In other words, inside the loop i should concatenates with x to form a new variable where the value of 2*i^2 will be stored.
How to do it? Please help