Matlab Source Code

Source code in Matlab, for the analysis of structures

PFrameMatlab v1.2

Program for the Linear Static Analysis of Plane Frames with Matlab, v1.2, 23 November 2015
(c) Copyright 2008-2015, Vagelis Plevris, Apostolis Vrakas, Manolis Papadrakakis

Main features and characteristics

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

  • Reads model from a text file
  • Has a basic interface for drawing the model
  • Calculates nodal displacements, element forces and constraint reactions
  • Exports the analysis results in txt format
  • Supports only nodal loads (no elemental loads)
  • Supports hinges (rotational releases) at the elements' ends
  • Very good documentation within the source code, as it was mainly created for teaching purposes

View on ResearchGate researchgate icon    |    Download Source Code 


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


STrussMatlab v1.00

Program for the Linear Static Analysis of Space (3D) Trusses with Matlab, v1.00, 4 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 3D model is described in an input file (in text format).
  • The program draws and shows the model in a simple figure (in 3D). The user can rotate the figure and view the 3D model in different angles.
  • 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, Fz).
  • The source code is well commented, since it is developed mainly for educational purposes.
  • The results of the program have been verified by comparison with the results of ABAQUS (v 6.13.1) and SAP2000 (v 17.2.0) software (see “Verification files”).

View on ResearchGate researchgate icon    |    Download Source Code