0% found this document useful (0 votes)
4 views1 page

Codigo Mathlab

Codigo Mathlab

Uploaded by

Eduardo Suárez
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

Codigo Mathlab

Codigo Mathlab

Uploaded by

Eduardo Suárez
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

%Obtencion de datos - ESU

t3 = str2double (get (handles.t3, 'string'));


t2 = str2double (get (handles.t2, 'string'));
tf = str2double (get ([Link], 'string'));
tw = str2double (get ([Link], 'string'));
t2b = t2
tfb = tf

%Comando Plot - ESU


x1 = -t2/2; x2 = t2/2; x3 = t2/2; x4 = tw/2; x5 = -t2/2; x6 = -t2/2; x7 = t2/2-tw;
x8 = t2/2-tw; x9 = -t2/2; x10 = -t2/2;
y1 = t3/2; y2 = t3/2; y3 = -t3/2; y4 = -t3/2; y5 = -t3/2; y6 = -t3/2+tf;
y7 = -t3/2+tf; y8 = t3/2-tf; y9 = t3/2-tf; y10 = t3/2;
axes(handles.Grafica_steel);
x = [x1 x2 x3 x4 x5 x6 x7 x8 x9 x10];
y = [y1 y2 y3 y4 y5 y6 y7 y8 y9 y10];
plot(x ,y, 'b');
grid on;
axis equal;
xlabel('Eje X, [mm]');
ylabel('Eje Y, [mm]');

%Calculo de Inercia

You might also like