I would like to create variables and name the variables through an index in a loop into the name of the variable
for k = 1 : 10
A_{k} = rand(10,1);
end
I want it to create variables
A_1 = [.43,.234.,....]
A_2
A_3
...
But it doesnt. It only creates an variable A.
How do I feed the index into the loop to create individual variables?