Added plot (Lagrange multiplier).

time-shift
Stéphane Adjemian (Charybdis) 2012-01-23 14:47:01 +01:00
parent 0f1dd850ed
commit 119a8eee3b
1 changed files with 6 additions and 0 deletions

View File

@ -98,10 +98,16 @@ end;
steady;
options_.maxit_ = 100;
options_.stack_solve_algo = 4;
simul(periods=4000);
n = 100;
figure('Name','(rbcii) Investment.');
plot(Output(1:n)-Consumption(1:n),'-b','linewidth',2)
figure('Name','(rbcii) Lagrange multiplier associated to the positivity constraint on investment.');
plot(LagrangeMultiplier(1:n),'-b','linewidth',2)
@#endif