This file contains flexible beam models implemented in Simscape Multibody that use lumped parameter and state-space approaches. It includes methods to compute static deflection, natural frequencies, plot mode shapes, and obtain the state-space representation from lumped parameter model. This example also shows how to increase simulation speed by calculated a reduced order approximation of the state-space representation with the MATLAB function balred.
Please read the README.txt file to get started.
Learn about modeling flexible bodies in Simscape Multibody
See how to convert the physical properties of your beam to joint stiffness in flexible bodies
Find other Simscape examples by searching posts for the keyword "physical modeling"
Learn more about MathWorks Simscape Products:
You may reuse this content, with or without modification, in your work.
Please follow the conditions of the license file and use the following citation:
 Miller, Steve (2017), Flexible Beam in Simscape Multibody (https://www.mathworks.com/matlabcentral/fileexchange/47051) MATLAB Central File Exchange. Retrieved on <date you downloaded submission>
Added R2017a version and text for citing submission in other works. Latest version allows beams of circular and arbitrary cross section, and includes more documentation. Made startup script compatible with Mac.
Added version for R2016a.
I have added Control System Toolbox in the list of required products.
Have uploaded Flexible_Beam_State_Space_Approach_PDF.pdf
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.