Merge a variable name with a running index from a loop?
20 views (last 30 days)
Hi there, I want to save data generated within a loop in a set of variables, whereas I want the variables to have the running index attached to it. How can I do that?
variable1=result =>>!! here I want to define sth that makes matlab create a variable name variable+i
Many thanks in advance!