What you describe is a straightforward problem with two components:
- Looping over parameters in Dynare. There are many posts dealing with that. Your code above is not recommended as you should loop over the Matlab-function
stoch_simul
. See
Loop over parameters - #2 by jpfeifer - Plotting the data. You can use any Matlab command you like for that.