I would recommend to use straightforward code that makes the mapping explicit. You could e.g. have a look at
There I have code for Matlab and Dynare returning the same results.
I would recommend to use straightforward code that makes the mapping explicit. You could e.g. have a look at
There I have code for Matlab and Dynare returning the same results.