image thumbnail

Truss Stiffness Calculator

version 1.1.1 (12.4 KB) by Dorian Depriester
This small program computes the stiffness matrix of a truss, assuming that this truss is composed of slender elastic elements (beams).

684 Downloads

Updated 02 Dec 2019

View License

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:
TrussStiffnessGUI

To open the GUI, define the structure, then save the stiffness matrix as a workspace variable (say, "M"), execute the following:
M=TrussStiffnessGUI

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).

Cite As

Dorian Depriester (2021). Truss Stiffness Calculator (https://www.mathworks.com/matlabcentral/fileexchange/73486-truss-stiffness-calculator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with R2013b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!