Calculates strain tensor along new direction in 3D problems with variables notation provided.
E1: Strain tensor with the following notation
E1=[epsilon_xx gamma_xy/2 gamma_xz/2;
gamma_xy/2 epsilon_yy gamma_yz/2;
gamma_xz/2 gamma_yz/2 epsilon_zz];
Total shear strain is divided by two to convert it to average shear strain
T: Transformation matrix with the following notation
T=[l1 l2 l3;
m1 m2 m3;
n1 n2 n3];
where l1,m1,n1 are the direction cosines for new coordinate X with old x,y and x directions
where l2,m2,n2 are the direction cosines for new coordinate Y with old x,y and x directions
where l3,m3,n3 are the direction cosines for new coordinate Z with old x,y and x directions
E2: Strain tensor in the new coordinate system
Ayad Al-Rumaithi (2020). Transformation of Strains in 3D Problems (https://www.mathworks.com/matlabcentral/fileexchange/72111-transformation-of-strains-in-3d-problems), MATLAB Central File Exchange. Retrieved .