Plot does not appear.

11 visualizaciones (últimos 30 días)
Ömer Fatih Özdemir
Ömer Fatih Özdemir el 11 de Abr. de 2022
Editada: Torsten el 12 de Abr. de 2022
for E1=1:73
W=15;
L=1.3;
w=0.25;
h=0.075;
I=(w*h^3)/12;
Deflection5 = (W.*L.^3)/(3.*E1.*I)
plot(E1,Deflection5)
end
Guys why it does not appear what is the problem? I tried to make plot of the E1 values and Deflection while both values changing.

Respuesta aceptada

Torsten
Torsten el 11 de Abr. de 2022
E1=1:73
W=15;
L=1.3;
w=0.25;
h=0.075;
I=(w*h^3)/12;
Deflection5 = (W.*L.^3)./(3.*E1.*I)
plot(E1,Deflection5)
  6 comentarios
Ömer Fatih Özdemir
Ömer Fatih Özdemir el 11 de Abr. de 2022
Editada: Ömer Fatih Özdemir el 11 de Abr. de 2022
for example, how to use two plot in legend?
L1=linspace(0.001,1.3);
Deflection1 = (W.*L1.^3)/(3.*E.*I);
plot(L1,Deflection1)
this and
Deflection5
Torsten
Torsten el 12 de Abr. de 2022
Editada: Torsten el 12 de Abr. de 2022
plot(L1,Deflection1)
hold on
plot(L1,Deflection5)

Iniciar sesión para comentar.

Más respuestas (1)

Davide Masiello
Davide Masiello el 11 de Abr. de 2022
Editada: Davide Masiello el 11 de Abr. de 2022
No need for a for loop
E1=1:73;
W=15;
L=1.3;
w=0.25;
h=0.075;
I=(w*h^3)/12;
Deflection5 = (W.*L.^3)./(3.*E1.*I);
plot(E1,Deflection5)
  1 comentario
Ömer Fatih Özdemir
Ömer Fatih Özdemir el 11 de Abr. de 2022
Is it possible to make it with for loop?

Iniciar sesión para comentar.

Categorías

Más información sobre Animation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by