Question: Write a MATLAB code that allows you to: a) calculate and print in a matrix form the element stiffness matrix for a 2D truss element

Write a MATLAB code that allows you to:

a) calculate and print in a matrix form the element stiffness matrix for a 2D truss element residing at an angle of 30 relative to the global x-axes;

b) and then if the above element is connected to global nodes 2 and 3 of a 2D truss, write a subroutine that places the element stiffness matrix in the proper locations of a 10x10 global stiffness matrix. Print the global stiffness matrix assuming that all other elements are zero.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!