Reinforcement Learning Example - Pendulum Controller w/ Animation

Q-Learning how to swing and balancing a pendulum. Well-commented code with animation as it runs.
3K Downloads
Aktualisiert 27. Jun 2016

Video here: https://www.youtube.com/watch?v=YLAWnYAsai8
Implementation of the Q-learning algorithm. Learns a controller for swinging a pendulum upright and balancing it. Animates the entire process -- you can watch the system explore the state space and begin to get an idea of "good" and "bad" regions. Well-commented code meant to help explain the process. Lots of settings to play with and observe the results!

Zitieren als

Matthew Sheen (2025). Reinforcement Learning Example - Pendulum Controller w/ Animation (https://github.com/mws262/MATLAB-Reinforcement-Learning-Pendulum), GitHub. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2014b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden

Version Veröffentlicht Versionshinweise
1.0.0.0

Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.