The m-files available here in the gensys2 folder are the most up-to-date versions. They include the corrections made by Robert Kollman, plus some additional more minor corrections.

The gstate.m program in the gensys2 folder analyzes the G1 and impact matrices that come from gensys (or the corresponding F1, F2 matrices from gensys2) to facilitate translation into a possibly more familiar "state-control" form.

The order2setup.m program uses the Matlab symbolic package to calculate first and second derivatives analytically from model equations specified as matlab-notation equations.

Chris Sims, 5/29/03