From 119a8eee3bbc3220ee4f5dbf58f338983a3a11bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Mon, 23 Jan 2012 14:47:01 +0100 Subject: [PATCH] Added plot (Lagrange multiplier). --- tests/ep/rbcii.mod | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/ep/rbcii.mod b/tests/ep/rbcii.mod index 8e7a62c0e..f0465cb61 100644 --- a/tests/ep/rbcii.mod +++ b/tests/ep/rbcii.mod @@ -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