Truss Stiffness Calculator

This small program computes the stiffness matrix of a truss, assuming that this truss is composed of slender elastic elements (beams).

You are now following this Submission

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 (2026). Truss Stiffness Calculator (https://www.mathworks.com/matlabcentral/fileexchange/73486-truss-stiffness-calculator), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2013b and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.1

Add reference to own paper

1.0.1

Fix typo in summary

1.0.0