"The Macroeconomics of Subsistence Points," by Morten Ravn, Stephanie Schmitt-Grohe, and Martin Uribe, forthcoming Macroeconomic Dynamics.

Related Papers

Matlab Code
Note: (1) Matlab's Symbolic Math Toolbox is required. (2) The code for solving DGE models to first order provided at the bottom of this page is required

sp_run.m (run this program to produce impulse responses to preference, government spending, and productivity shocks)
sp.m
sp_ss.m

First-order approximation
gx_hx.m (by Stephanie Schmitt-Grohe and Martin Uribe)
anal_deriv.m (by Stephanie Schmitt-Grohe and Martin Uribe)
num_eval.m (by Stephanie Schmitt-Grohe and Martin Uribe)
ir.m (by Stephanie Schmitt-Grohe and Martin Uribe)