Get from Ico-github-logo

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

» Watch video

Highlights from
Ball & Beam Demo

  • ballbeam(action)
    BALLBEAM in an interactive demonstration of Proportional (P) and
  • View all files

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

4.1 | 16 ratings Rate this file 11 Downloads (last 30 days) File Size: 2.3 MB File ID: #151 Version: 1.6
image thumbnail

Ball & Beam Demo


Jeffrey Kantor (view profile)


27 Mar 2001 (Updated )

BALLBEAM demonsrates Proportional-Derivative (PD) control using a ball and beam simulation.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information

Interactive demonstration of feedback control for a ball and beam system.

Required Products MATLAB
MATLAB release MATLAB 8.3 (R2014a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (16)
25 Jun 2016 kaddouri hadj abdelkader  

Super Cool

28 Aug 2015 mohammad soleimannejad

thank you for this usefull demo,I need a simulation file.

26 Aug 2015 ivan condori


10 Jun 2015 Gustavo Teixeira

Super cool!

23 Apr 2011 Joachim  
26 Jan 2011 Douglas

Best Evaaaaaaaarrrrrr!!!!!

27 Jun 2007 henry dinh  
06 May 2007 mor sal

it is very good

13 Jun 2006 mehdi sajjadi

I only can say perfect.Avery good refrence fro stundents that they have problem in their projects.

02 Nov 2005 Daniel Oldjira Fufa

It is cool. Thank you for it.


01 Oct 2005 fsdf fdf  
23 Aug 2005 Alex Osk  
17 Feb 2005 Muhammad Abid  
08 Dec 2004 Ary Bachtiar  
13 Jan 2004 Fahad Al Mahmood

Good Demo!

20 Jan 2011 1.2

Updated for release Matlab 2010b with additional documentation and suggested classroom exercises.

27 Jan 2011 1.3

Fix an error that sometimes occurs in the PD mode of the simulation.

06 Dec 2014 1.4

Update as a Matlab Toolbox

18 Aug 2015 1.5

Updated with fixes to graphics, and to provide a summary chart of the simulation results.

20 Feb 2016 1.6

Fix typo.

Contact us