MATLAB , dont change the subject
Give me a MATLAB code for obtaining principal stress from a given tensor of stress which is input by the user. Take input from user
Use tensor method to obtain stress
Give only correct code and if ans is wrong slightly it will be downvoted badly
clc;clear all
T=input('Enter the stress tensor in matrix form'); %%Asks user to
enter the stress tensor
principalstresses=eig(T) %%Eigen value of a stress tensor gives us
the principal stress
%%Eigen values found using eig command
Get Answers For Free
Most questions answered within 1 hours.