How to concatenate a number to a variable name in MATLAB?

Posted by clowny on Stack Overflow See other posts from Stack Overflow or by clowny
Published on 2010-05-11T09:55:13Z Indexed on 2010/05/11 13:54 UTC
Read the original article Hit count: 224

Filed under:
|
|
|

I have a variable a = 1.

I want to generate a variable name of the form:

variableNumber  

so in this example, I would want

a1 a2 a3

as variables.

How can I do that?

© Stack Overflow or respective owner

Related posts about matlab

Related posts about variable