Code covered by the BSD License  

Highlights from
WTS (formerly Leonov) + GUI

image thumbnail
from WTS (formerly Leonov) + GUI by Michael Wendlandt
Calculates stress vs. strain curves of plastically deformed glassy polymers. GUI available.

d=dev(a)
function d=dev(a)

%This function determines the deviatoric part of a

d=a- (1/3) *trace(a)*eye(3);

Contact us at files@mathworks.com