%  gertler_og.m 
%  Messing around with variants of Gertler's OG model,   
%  "Govt debt," Carnegie-Rochester, 1999 
%  Dave Backus, June 2013 and after 
format compact 

disp(' ')
disp('Gertler model') 
disp('-----------------------------------------------------')
syms omega mu phi 

A = [1+phi-omega 0; omega 1-mu];
[V,D] = eig(A) 