I searched this forum for an answer and hopefully I did not miss any. So, my problem is, I want to run an equation several time each with different sample (like rolling) but I want to keep each different equation in the workfile as well. To illustrate, let's say I have an equation named eq01, not I want to declare 20 different equations called eq_01_1, eq01_2 such that they share the same model but only samples differ. I know that I can do this with a for loop but I want to declare my equations out of eq01, not writing the equation explicitly, because I have too many of equations from which I will run several with different samples that it will be too time consuming to write each equation in the for loop. What I aim is to have such a code
Code: Select all
for i = 1:10
smpl date(i-1) date(i)
equation eq01_i = eq01
equation eq02_i = eq02
end forHope I am clear enough. Thanks in advance.
