Commit 43c73a74 authored by Houtan Bastani's avatar Houtan Bastani

test for matlab namespace function in steady_state_model block. closes #1639

parent cd83a779
Pipeline #2061 passed with stages
in 232 minutes and 44 seconds
function retval = y_k(alpha, beta, delta)
retval = (1/alpha)*(1/beta-1+delta);
end
......@@ -777,6 +777,7 @@ EXTRA_DIST = \
run_reporting_test_matlab.m \
run_reporting_test_octave.m \
run_all_unitary_tests.m \
+matlab/+namespace/y_k.m \
reporting/AnnualTable.m \
reporting/CommResidTablePage.m \
reporting/CountryGraphPage.m \
......
......@@ -67,7 +67,7 @@ steady_state_model;
// adapting solution Walsh (2003) p. 84
en = 1/3;
eR = 1/beta;
y_k = (1/alpha)*(1/beta-1+delta);
y_k = matlab.namespace.y_k(alpha, beta, delta);
ek = en*y_k^(-1/(1-alpha));
ec = ek*(y_k-delta);
em = ec*(a/(1-a))^(-1/b)*((thetass-beta)/thetass)^(-1/b);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment