I have 26 variables (one for each letter) which each contain a different matrix. After this I have a for loop that gives an output of a single letter. I want to link the variables and for loop in some way, so that if the loop gives off the letter 'a' it will output the matrix linked to the variable a instead of just the letter. Is this possible? And if it is how would it be accomplished?
MATLAB: Is it possible to link an str answer with an existing variable
for loopslinkvariable
Best Answer