I have a Variable that needs to be dependent on another variable inside a loop:
for n=1:100
newfilename="NEW_FILE_1.txt"
end
where the "1" needs to be what ever n is: So 1 for the first loop and 2 for the second loop and so on and so forth.
How do you set up declaring "newfilename" to have the variable "n" variable inside its name?
Thanks