Skip to content
Snippets Groups Projects
Commit 119a8eee authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Added plot (Lagrange multiplier).

parent 0f1dd850
Branches
Tags
No related merge requests found
......@@ -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
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment