%  Clex182.m
%  Creates an example by combining
%     a.  Technology that is "cost of adjustment", as in the text.
%     b.  Seasonal preferences with habit persistence.
phic=[1 0]';
phig=[0 -1]';
phi1=.00001;
gam1=.1;
gamma=[gam1 0]';
phii=[1 phi1]';
deltak=.95;
thetak=1;
deltah=[0 0 0 .9;1 0 0 0; 0 1 0 0; 0 0 1 0]
lambda=[0 0 0 -.6]
thetah=[.1 0 0 0]'
pih=1;
										
beta=1/1.05;
a22=[1 0 0 0 0 0;0 0 0 0 .0 0; 0 1 0 0 0 0;0 0 1 0 0 0;0 0 0 1 0 0;...
   0 0 0 0 0 0];
a22(2,2:5)=[.7 0 0 0];

a22(6,6)=.7;
c2=[0 0;2 0;0 0;0 0; 0 0; 0 .5]
ud=[5 0 0 0 0 1]
ud=[ud;zeros(1,6)]
%ud(1,:)=zeros(1,6)    % to be used when you want to shut down endowment shock
ub=[30 1 0 0 0 0]
x0=[20.97 20.97 20.97 20.97 150.94 1 0 0 0 0 0]'
