Académique Documents
Professionnel Documents
Culture Documents
b = 200;
h = 300;
S = b*h;
Iz = b*h^3/12;
Iy = h*b^3/12;
N = 0;
Q = 10;
Mz = 20;
My = 10;
if var == 1
z = 0;
y = -h/2:10:h/2;
for i=1:length(y)
sigm = (sxx+syy)/2;
raio = sqrt(((sxx-syy)/2)^2+txy^2);
ang = 0:0.01:2*pi;
xp = raio*cos(ang);
yp = raio*sin(ang);
plot(sigm+xp,yp)
hold on
% Propriedades do gr�fico:
ax = gca;
ax.XAxisLocation = 'origin';
ax.YAxisLocation = 'origin';
pbaspect([1 1 1])
xlabel('sigma')
ylabel('tau')
pause
end
else
z = -b/2:10:b/2;
y = 0;
for i=1:length(z)
sigm = (sxx+syy)/2;
raio = sqrt(((sxx-syy)/2)^2+txy^2);
ang = 0:0.01:2*pi;
xp = raio*cos(ang);
yp = raio*sin(ang);
plot(sigm+xp,yp)
hold on
% Propriedades do gr�fico:
ax = gca;
ax.XAxisLocation = 'origin';
ax.YAxisLocation = 'origin';
pbaspect([1 1 1])
xlabel('sigma')
ylabel('tau')
pause
end
end