File Exchange

image thumbnail

Machine learning - balancing a stack of balls

version 1.2 (48.7 KB) by

A genetic algorithm is used to train a neural network controller to balance a stack of balls.

6 Downloads

Updated

View License

A genetic algorithm is used to train a neural network controller to balance a stack of balls by applying a lateral force and a torque to the bottom ball. The capsim physics engine is used to produce a realistic simulation for each attempt. It can learn up to 4 balls.
http://www.youtube.com/watch?v=c4vADjwOFNc

Comments and Ratings (3)

JIA XIA

Daria

Daria (view profile)

Rob Campbell

Rob Campbell (view profile)

Updates

1.2

Video link

1.1

Acknowledgements

MATLAB Release
MATLAB 7.11 (R2010b)
Acknowledgements

Inspired by: CapSim - the MATLAB physics engine, export_fig

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video