Dynamic Programming with two endogenous states

Hey all,
I have a dynamic programming problem. I have two endogenous and one exogenous state variables and I need to code this in Matlab. All states are continuous (time is discrete).
I can easily code a value function iteration when there is one exogenous and one endogenous state. However, I couldn't figure out how to code it with a second endogenous state.
The Bellman equation is like this:
where a and b are the endogenous states and z is exogenous.
Any help appreciated!

Answers (0)

Asked:

on 11 Jul 2019

Commented:

on 17 Oct 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!