%  Creates matrices for an economy with technology 3 and
%  preference specification 2.
%  Technology 3 is the multi-period adjustment costs or
%  "time to build" techology.
%  Preference specification 2 is the "consumer durables"
%  specification.
%  The parameters of phi and gamma (=gam) are to be specified
phi=[1 .8 3 1]
gam=.3
deltak=[.92 1 ; 0 0]
thetak=eye(2)
phic=[1 0 0 0 0]'
phig=[0 0 0 0;-eye(4)]
phii=[1 1;phi(1) phi(1);phi(2) 0; phi(3) 0;0 phi(4)]
gamma=[gam 0; 0 0; 0 -phi(2);0 0 ; 0 0]
deltah=.9; lambda=.2;
thetah=1;
pih=0;
a22=[.9 0; 0 .9]
beta=.95;
a22=[1 0 0;0 .9 0; 0 0 .9]
c2=[0 0;eye(2)]
ud=[0 .5 0]
ud=[ud;zeros(4,3)]
ub=[30 0 0]
x0=[136.2 44.9 3.25 1 0 0]'
