The following Matlab project contains the source code and Matlab examples used for 1d spring element fe code.
Simple example for spring element from MATLAB guide to Finite Elements (2006) by Peter Kattan
The book gave the solution to this problem which needs some manual work but with this code there is no need to solve this problem manually.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.
Project Files:
File Name | Size |
---|---|
license.txt | 1543 |
Example_1.m | 2161 |
FE_Spring_Element.m | 1764 |
SolveAssemble.m | 247 |
SpringAssemble.m | 350 |
SpringElementStiffness.m | 301 |