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
Get step-by-step solutions from verified subject matter experts
