forcedisp1 = readtable("2c.csv");
forcedisp2 = readtable("3c.csv");
forcedisp3 = readtable("5c.csv");
forcedisp4 = readtable("6c.csv");
forcedisp_mat1 = table2array(forcedisp1);
time1 = forcedisp_mat1(:,1);
displacement1 = forcedisp_mat1(:,2);
force1 = forcedisp_mat1(:,3);
forcedisp_mat2 = table2array(forcedisp2);
time2 = forcedisp_mat2(:,1);
displacement2 = forcedisp_mat2(:,2);
force2 = forcedisp_mat2(:,3);
forcedisp_mat3 = table2array(forcedisp3);
time3 = forcedisp_mat3(:,1);
displacement3 = forcedisp_mat3(:,2);
force3 = forcedisp_mat3(:,3);
forcedisp_mat4 = table2array(forcedisp4);
time4 = forcedisp_mat4(:,1);
displacement4 = forcedisp_mat4(:,2);
force4 = forcedisp_mat4(:,3);
stress1 = -force1./area1;
strain1 = displacement1./og1;
stress2 = -force2./area2;
strain2 = displacement2./og2;
stress3 = -force3./area3;
strain3 = displacement3./og3;
stress4 = -force4./area4;
strain4 = displacement4./og4;
plot(strain1,-stress1, "LineWidth", 1.5)
plot(strain2,-stress2, "LineWidth", 1.5)
plot(strain3,-stress3, "LineWidth", 1.5)
plot(strain4,-stress4, "LineWidth", 1.5)