User:EML4500.f08.JAMAMA/MATLABTWOBAR

Solving a Two-Bar Truss System using MatLab
The same system can be solved using MatLab.

The following code solves for the parameters: "Stiffness matrices, displacements, and reactions."

Here are the calculaled results from MatLab:

It can be observed that the values that were calculated previously are similar to the ones calculated using Matlab.

The two "k_local" that MatLab calculated are our k(1) and k(2) respectively.

The two lowercase k's (k) from MatLab are our local stiffness matrices k(1) and k(2).

The Uppercase k (K) found in the Matlab Results is equivalent to our global stiffness matrix K.

The "R" matrix is the know forces matrix.

The "d" matrix is the displacement matrix.

The "reaction" matrix is for the reaction forces.

And the "results" matrix is to present the

--Eml4500.f08.jamama.justin 18:27, 26 September 2008 (UTC)