Hi, I have a set of code that has about 64 different variables. I'm now trying to store them into a matrix. I named the variables so they would be easily used in a for loop when putting them into a matrix but now i dont think i'll be able to use them. Here is my code:
for ii = 1:8 for jj = 1:8 I(ii, jj) = Iiijj endend
Where an example of an I variable looks like I31. Is it possible to reference a variable using variables??
Thanks,
Dan
Best Answer