Question#3 (MATLAB/ Matrix analysis of 3D truss) Write a MATLAB program

Question
Question#3 (MATLAB/ Matrix analysis of 3D truss)

Write a MATLAB program for the analysis of a 3D truss. Analyze the 3D steel truss shown in

Fig. 1 using the program. The truss is supported by four ball and socket joints A, B, C, and D.

Verify element stiffness of member GC manually in the global coordinate system. Modulus of

elasticity = 2.1×10^5 MPa, Area of cross-section of members = 0.0012 m².

Question image 1