Question: Develop a MATLAB code that is capable of the followings: a) Your code can interactively plot a Mohr's circle for a set of stresses

Develop a MATLAB code that is capable of the followings: a) Your 

Develop a MATLAB code that is capable of the followings: a) Your code can interactively plot a Mohr's circle for a set of stresses (x, Oy, Oz, Txy. Txz, Tyz) in 3D by importing the Microsoft Excel file (.xlsx) created by the user. Consider to use xlsread() function to read the xlsx file. Clearly label both axes and put the units in the plot. The set of stresses represents the state of stress around an infinitesimal three-dimensional material element that is aligned to x, y and z axes. Please see the notation in the figure below. (You can expand the code developed for Homework #2 that interactively plots a 2D Mohr's circle for a set of stresses entered by user.) Tyz 0 b) Your code can compute (i) the principal stresses, and (ii) the maximum shear stress and the corresponding normal stress. c) Print the results obtained from b) on the Mohr's circle plot. You can use a built-in MATLAB function text () or similar functions to add text descriptions on the plot. Test the developed code on the following stress state to see if it works. All units are in MPa: (x, y, z, Txy, Txz, Tyz) = (120, 55,-85, -55, -75, 33)

Step by Step Solution

3.42 Rating (146 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Below is the MATLAB code that fulfills the requirements stated matlab Import data from Excel file filename stressdataxlsx Change to your Excel file na... View full answer

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 Programming Questions!