Hi,
I am building an N-country NK model where N is going to be a small number (like 5, 10). All the countries are symmetric, is there a way to write the equations in loop? Like, (Thanks so much!!!)
for i=1:10
y_i = c_i + i_i + nx_i
end
where variables can also be defined in loop
for i=1:10
var y_i, c_i, i_i, nx_i;
end