Please chek this pdf file for the details on the problem.
Please also check this submission, where a more general dynamic programming algorithm is used to sove this problem. You can also find a general implementation of value iteration implemented there.
This is an example for a 400 x 400 grids:
The car is replaced with Universitas Pertamina's logo ;-)
Auralius Manurung (2022). Sutton's Mountain Car Problem with Value Iteration (https://github.com/auralius/sutton-mountain-car/releases/tag/2.0.2), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!