I have a for loop that goes through 7 elements in an array and does an operation, and gets a 'work' (name of variable) variable. I want to save this work variable in the form of 'work_#ofexperiment' (experiments 1 through 7)
So I have experiment 1, 2, 3, 4, 5, 6, 7
And an array [stuff1,stuff2,stuff3,stuff4,stuff5,stuff6,stuff7];
for i=1:7
do stuff work = something save work based on the order of i and name it work_experiment#
save('work_%s',work,experiment(i)) is not working