Double-check for any mistakes
1 次查看(过去 30 天)
显示 更早的评论
Hi,
My code is not functioning as I think it should. The code is as follows:
- rho + gamma*(abar(t-1,1) - a(t-1,1)) - gamma*(a(t-1,1) - c(t-1,1)) - delta - (delta*a(t-1,1) + abar(t-1,1)*g_abar - gamma*(abar(t-1,1) - a(t-1,1))*z(t-1,1))/(abar(t-1,1) - a(t-1,1))
It is meant to reflect the RHS of the following equation.
Is the RHS of the attached equation equivalent to the written in code?
Thank you very much!
0 个评论
采纳的回答
Torsten
2023-1-19
- rho + gamma*(abar(t-1,1) - a(t-1,1)) - gamma*(a(t-1,1) - c(t-1,1)) - delta - (delta*a(t-1,1) + abar(t-1,1)*g_abar - gamma*(abar(t-1,1) - s*a(t-1,1))*z(t-1,1))/(abar(t-1,1) - a(t-1,1))
instead of
- rho + gamma*(abar(t-1,1) - a(t-1,1)) - gamma*(a(t-1,1) - c(t-1,1)) - delta - (delta*a(t-1,1) + abar(t-1,1)*g_abar - gamma*(abar(t-1,1) - a(t-1,1))*z(t-1,1))/(abar(t-1,1) - a(t-1,1))
3 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Import, Export, and Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!