Matlab Source Code

Source code in Matlab, for the analysis of structures

PTrussMatlab v1.00

Program for the Linear Static Analysis of Plane Trusses with Matlab, v1.00, 1 January 2016
(c) Copyright 2016, Vagelis Plevris and George Papazafeiropoulos

Main features and characteristics

The main features and characteristics of the program are the following:

  • The model is described in an input file (in text format).
  • The program draws and shows the model in a simple figure.
  • It calculates the Node Displacements, Element Forces, Stresses and Strains and the Constraint Reactions.
  • The results of the analysis are written in an output file (in text format).
  • It supports nodal forces, given in the global coordinate system (Fx, Fy).
  • The source code is well commented, since it is developed mainly for educational purposes.

View on ResearchGate researchgate icon    |    Download Source Code