User:Eml4500.f08.wiki1.schaet/hw4

MatLab Homework
Part of this homework was to do the example of the 5-bar Truss found on page 25 of the book in Matlab and then to do the 3-bar example established previously in Matlab. Below is the Matlab code for the 5-bar truss with extensive comments.

 MATLAB Code



The image of the deformed beams versus the undeformed beams are as follows:

The Matlab code for the 3-bar truss example with extensive comments are as follows:  MATLAB Code



The image for this result is as follows:

The following are the three M-files given online:  PlaneTrussElement



 NodalSoln



 PlaneTrussResults