File Exchange

image thumbnail

Ball & Beam Control

version (33.6 KB) by Rick Hill
Animation of ball & beam state-feedback control system


Updated 18 Mar 2013

View License

This app was developed as part of the web-based control system tutorials available at:

The purpose of this app is to allow the user to view an animation of the ball and beam system with the step disturbance response plot. This allows the user to see the correlation between the plot and the system's physical response.

The animation and the app are based on the Ball & Beam - State-Space Controller Design example page of the tutorials:

A state feedback approach was used because we can easily return the ball position and beam angle as well as their respective velocities. For more information on the system model please refer to the Ball & Beam - System Modeling page of the tutorials:

Comments and Ratings (4)


Can I see the code of this animation anywhere? I need it for my students. Please link me the code

Giap Nguyen

Aza Ulikyan

Hieu Luu

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux