For mathematical explanations of the computation of stiffness matrices of truss, see for instance : https://www.researchgate.net/publication/337680114_Truss_analysis_the_stiffness_method
This contribution provides both:
- a simple function (TrussStiffness.m), which computes the truss stiffness, given the coordinates of the nodes and the list of connecting elements. This function works for 2D and 3D trusses (type "help TrussStiffness" for details).
- a Graphical User Interface (GUI) for computing the stiffness of simple structures in a user-friendly way.
To open the GUI, just execute the following command:
To open the GUI, define the structure, then save the stiffness matrix as a workspace variable (say, "M"), execute the following:
Note : This simple program was first intended for educational purpose. Thus, it is very simple (actually it is meant to be simple, in order to evidence how easy it is to program the computation of the stiffness matrix).
Dorian Depriester (2021). Truss Stiffness Calculator (https://www.mathworks.com/matlabcentral/fileexchange/73486-truss-stiffness-calculator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!